diff --git a/src/p_mobj.c b/src/p_mobj.c index 086a1cc229fcaeb26503fe939c8ee242c81d0ee2..c02ed91dc7650bc855b9e6bf2c012adc3efa5f29 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -3143,10 +3143,8 @@ void P_MobjCheckWater(mobj_t *mobj) // Special backwards-compatible case for Brak's electric barrier -- execute pushable linedef executors in the water sector, // if they exist. sector_t *controlSector = sectors + rover->secnum; - if (controlSector->special & 16) - { + if (controlSector->special & 16) // Is there a cleaner way to check this? Don't like magic numbers... P_LinedefExecute(controlSector->triggertag, mobj, controlSector); - } } P_KillMobj(mobj, NULL, NULL, 0); }