diff --git a/src/p_map.c b/src/p_map.c index d112577b7..d8cc4adf1 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -2441,7 +2441,7 @@ increment_move if (!(thing->flags & MF_NOCLIP)) { //All things are affected by their scale. - fixed_t maxstep = P_GetThingStepUp(thing, x, y); + fixed_t maxstep = P_GetThingStepUp(thing, tryx, tryy); if (tmceilingz - tmfloorz < thing->height) {