mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
brug
This commit is contained in:
parent
bc23f582fe
commit
b35633bb61
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue