mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 06:12:19 +00:00
thing->floorz --> thing->dropoffz
This commit is contained in:
parent
8b8c879994
commit
c79a1b6a45
1 changed files with 1 additions and 1 deletions
|
@ -2473,7 +2473,7 @@ bool P_CheckMove(AActor *thing, const DVector2 &pos, bool dropoff)
|
|||
{
|
||||
const DVector3 oldpos = thing->Pos();
|
||||
thing->SetOrigin(pos.X, pos.Y, newz, true);
|
||||
bool hcheck = (newz - thing->MaxDropOffHeight > thing->floorz);
|
||||
bool hcheck = (newz - thing->MaxDropOffHeight > thing->dropoffz);
|
||||
thing->SetOrigin(oldpos, true);
|
||||
if (hcheck && !(thing->flags & MF_FLOAT) && !(i_compatflags & COMPATF_DROPOFF))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue