From 5caee8cc09d4f959d189c96327a600173b13c9ab Mon Sep 17 00:00:00 2001 From: NepDisk Date: Thu, 27 Feb 2025 12:58:13 -0500 Subject: [PATCH] Fix type check for Land Mines vs Drop Target/Bubble Shield expand https://git.do.srb2.org/KartKrew/RingRacers/-/commit/b2268157fda15b6e948d1777bc78004f0024b90b --- 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 dfca923b0..a2300f3c7 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -706,7 +706,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing) || (g_tm.thing->player && g_tm.thing->player->bubbleblowup)) && (thing->type == MT_ORBINAUT || thing->type == MT_JAWZ || thing->type == MT_JAWZ_DUD || thing->type == MT_BANANA || thing->type == MT_EGGMANITEM || thing->type == MT_BALLHOG - || thing->type == MT_SSMINE || g_tm.thing->type == MT_LANDMINE || thing->type == MT_SINK + || thing->type == MT_SSMINE || thing->type == MT_LANDMINE || thing->type == MT_SINK || (thing->type == MT_PLAYER && g_tm.thing->target != thing))) { // see if it went over / under @@ -740,7 +740,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing) else if ((g_tm.thing->type == MT_DROPTARGET || g_tm.thing->type == MT_DROPTARGET_SHIELD) && (thing->type == MT_ORBINAUT || thing->type == MT_JAWZ || thing->type == MT_JAWZ_DUD || thing->type == MT_BANANA || thing->type == MT_EGGMANITEM || thing->type == MT_BALLHOG - || thing->type == MT_SSMINE || g_tm.thing->type == MT_LANDMINE || thing->type == MT_SINK + || thing->type == MT_SSMINE || thing->type == MT_LANDMINE || thing->type == MT_SINK || (thing->type == MT_PLAYER))) { // see if it went over / under