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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 5441a42c94a..3e857a34acc 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -562,6 +562,8 @@ void Creature::Update(uint32 diff)
break;
}
case DEAD_FALLING:
+ GetMotionMaster()->UpdateMotion(diff);
+ break;
default:
break;
}
@@ -1817,6 +1819,7 @@ bool Creature::FallGround()
if (fabs(ground_Z - z) < 0.1f)
return false;
+ RemoveUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
GetMotionMaster()->MovePoint(EVENT_FALL_GROUND, x, y, ground_Z);
Unit::setDeathState(DEAD_FALLING);
return true;