From b84ad05061951e729bd09cd34c7ce7ddc6425fc1 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Sat, 24 Dec 2016 00:11:54 +0000 Subject: [PATCH] Okay, failed experiment fixed. (This has nothing to do with the ability to pierce bustable FOFs, I just modified it for kicks to see what would happen.) --- src/p_map.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/p_map.c b/src/p_map.c index 943f20313..a490c7f3b 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -1533,8 +1533,7 @@ boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y) + ((topheight - bottomheight)/2)); if (topheight > tmfloorz && abs(delta1) < abs(delta2) - && !(rover->flags & FF_REVERSEPLATFORM) - && ((P_MobjFlip(tmthing)*tmthing->momz >= 0) || (!(rover->flags & FF_PLATFORM)))) + && !(rover->flags & FF_REVERSEPLATFORM)) { tmfloorz = tmdropoffz = topheight; #ifdef ESLOPE @@ -1543,7 +1542,6 @@ boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y) } if (bottomheight < tmceilingz && abs(delta1) >= abs(delta2) && !(rover->flags & FF_PLATFORM) - && ((P_MobjFlip(tmthing)*tmthing->momz >= 0) || (!(rover->flags & FF_REVERSEPLATFORM))) && !(thing->type == MT_SKIM && (rover->flags & FF_SWIMMABLE))) { tmceilingz = tmdrpoffceilz = bottomheight;