aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index bbb81bd3c9b..fbfae17a48b 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -1539,7 +1539,7 @@ bool Creature::FallGround()
float x, y, z;
GetPosition(x, y, z);
- float ground_Z = GetMap()->GetVmapHeight(x, y, z);
+ float ground_Z = GetMap()->GetHeight(x, y, z);
if (fabs(ground_Z - z) < 0.1f)
return false;