From b14a58f4b11a32384dd0f79b5c983fcaeb16bcf5 Mon Sep 17 00:00:00 2001 From: SSNTails <github@spaddlewit.com> Date: Wed, 29 May 2024 19:39:55 -0400 Subject: [PATCH] style cleanup --- src/p_mobj.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 086a1cc229..c02ed91dc7 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); } -- GitLab