diff options
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 8e0c1fcfe03..5d59b15ebe6 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -11176,6 +11176,7 @@ void Unit::setDeathState(DeathState s) GetMotionMaster()->Clear(false); GetMotionMaster()->MoveIdle(); if(m_vehicleKit) m_vehicleKit->Die(); + StopMoving(); //without this when removing IncreaseMaxHealth aura player may stuck with 1 hp //do not why since in IncreaseMaxHealth currenthealth is checked SetHealth(0); |