From e111d31df829a6b8ffed135fcd4b854b44d18627 Mon Sep 17 00:00:00 2001 From: GenericHeroGuy Date: Sat, 22 Nov 2025 02:11:31 +0100 Subject: [PATCH] Fix players clipping into some solid objects Caused by c6daa4da8 not reverting the return values --- src/p_map.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/p_map.c b/src/p_map.c index a7b64d23e..706a0c1ae 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -1238,7 +1238,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing) else { K_KartBouncing(g_tm.thing, thing, false, true); - return BMIT_CONTINUE; + return BMIT_ABORT; } } else if (thing->type == MT_SMK_PIPE) @@ -1259,7 +1259,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing) } K_KartBouncing(g_tm.thing, thing, false, true); - return BMIT_CONTINUE; + return BMIT_ABORT; } else if (thing->type == MT_SMK_THWOMP) { @@ -1302,7 +1302,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing) K_KartBouncing(g_tm.thing, thing, false, true); } - return BMIT_CONTINUE; + return BMIT_ABORT; } else if (thing->type == MT_KART_LEFTOVER) { @@ -1317,7 +1317,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing) else K_KartBouncing(g_tm.thing, thing, false, false); - return BMIT_CONTINUE; + return BMIT_ABORT; } else if (thing->flags & MF_SOLID) { @@ -1332,7 +1332,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing) else K_KartBouncing(g_tm.thing, thing, false, true); - return BMIT_CONTINUE; + return BMIT_ABORT; } } #if 0