mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 00:21:35 +00:00
SVN r246 (trunk)
This commit is contained in:
parent
5d1563b0e4
commit
2e02a4fa36
1 changed files with 2 additions and 1 deletions
|
@ -1686,7 +1686,8 @@ BOOL P_TryMove (AActor *thing, fixed_t x, fixed_t y,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// special logic to move a monster off a dropoff
|
// special logic to move a monster off a dropoff
|
||||||
if (thing->dropoffz - tmdropoffz > thing->MaxDropOffHeight) return false;
|
if (thing->floorz - floorz > thing->MaxDropOffHeight ||
|
||||||
|
thing->dropoffz - tmdropoffz > thing->MaxDropOffHeight) return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (thing->flags2 & MF2_CANTLEAVEFLOORPIC
|
if (thing->flags2 & MF2_CANTLEAVEFLOORPIC
|
||||||
|
|
Loading…
Reference in a new issue