From c79a1b6a45126d5326299a7003d53993222f4ed0 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Sat, 9 Apr 2016 15:04:44 -0500 Subject: [PATCH] thing->floorz --> thing->dropoffz --- src/p_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 15cd5eb5b..73aa3f73f 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -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)) {