From cd0d734d33d53cf998d58a647eeb8e5ac01ecc7f Mon Sep 17 00:00:00 2001 From: Ashnal Date: Sun, 14 Sep 2025 12:01:30 -0400 Subject: [PATCH] Oops, invert conditional --- src/p_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_map.c b/src/p_map.c index 36eb9e109..ea6ca0373 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -651,10 +651,10 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing) return BMIT_CONTINUE; // force no collide } - if (g_tm.thing->player && g_tm.thing->player->markedfordeath && (K_IsMissileOrKartItem(thing) || thing->type == MT_INSTAWHIP)) + if (!(g_tm.thing->player && g_tm.thing->player->markedfordeath && (K_IsMissileOrKartItem(thing) || thing->type == MT_INSTAWHIP))) return BMIT_CONTINUE; - if (thing->player && thing->player->markedfordeath && (K_IsMissileOrKartItem(g_tm.thing) || g_tm.thing->type == MT_INSTAWHIP)) + if (!(thing->player && thing->player->markedfordeath && (K_IsMissileOrKartItem(g_tm.thing) || g_tm.thing->type == MT_INSTAWHIP))) return BMIT_CONTINUE; // Blend-Eye internal noclip