Oops, invert conditional

This commit is contained in:
Ashnal 2025-09-14 12:01:30 -04:00
parent e7d28a7536
commit cd0d734d33

View file

@ -651,10 +651,10 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
return BMIT_CONTINUE; // force no collide 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; 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; return BMIT_CONTINUE;
// Blend-Eye internal noclip // Blend-Eye internal noclip