SVN r246 (trunk)

This commit is contained in:
Christoph Oelckers 2006-07-11 11:36:34 +00:00
parent 5d1563b0e4
commit 2e02a4fa36

View file

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