From 1eb1309032a37f584a3fd2f93a47ec2bf1e40c63 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Mon, 5 Sep 2022 10:41:06 -0400 Subject: [PATCH] Remove step-down change --- src/p_map.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/p_map.c b/src/p_map.c index 0bf029ab2..6f3b9f9fe 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -2463,11 +2463,6 @@ fixed_t P_GetThingStepUp(mobj_t *thing) const fixed_t maxstepmove = P_BaseStepUp(); fixed_t maxstep = maxstepmove; - if (thing->player && thing->player->fastfall != 0) - { - return 0; - } - if (P_WaterStepUp(thing) == true) { // Add some extra stepmove when waterskipping @@ -2524,16 +2519,20 @@ boolean P_TryMove(mobj_t *thing, fixed_t x, fixed_t y, boolean allowdropoff) #endif do { - if (thing->flags & MF_NOCLIP) { + if (thing->flags & MF_NOCLIP) + { tryx = x; tryy = y; - } else { + } + else + { if (x-tryx > radius) tryx += radius; else if (x-tryx < -radius) tryx -= radius; else tryx = x; + if (y-tryy > radius) tryy += radius; else if (y-tryy < -radius)