This commit is contained in:
James R 2020-10-14 01:19:43 -07:00
parent bc23f582fe
commit b35633bb61
1 changed files with 1 additions and 1 deletions

View File

@ -2744,7 +2744,7 @@ boolean P_TryMove(mobj_t *thing, fixed_t x, fixed_t y, boolean allowdropoff)
}
else if (tmceilingz < thingtop)
{
if (tmceilingz - thingtop <= maxstep)
if (thingtop - tmceilingz <= maxstep)
{
thing->z = ( thing->ceilingz = tmceilingz ) - thing->height;
thing->ceilingrover = tmceilingrover;