Tryx, tryy for P_GetThingStepUp in increment_move instead of destination x, y

This commit is contained in:
toaster 2022-11-18 12:50:24 +00:00 committed by NepDisk
parent 99b42992f5
commit 8545e26adf

View file

@ -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)
{