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
parent e8a6aa7540
commit 3174e0cc3d

View file

@ -2618,7 +2618,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)
{