diff options
author | megamage <none@none> | 2009-03-13 14:42:57 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-13 14:42:57 -0600 |
commit | 146b2560aa8a7d0fc8a90ec3af70d1a8e01e514d (patch) | |
tree | 295c0631404e49ec8acd492513ca614038ca6253 /src/game/Unit.cpp | |
parent | bb7391f129e831cd5daac17d54245738571c5d32 (diff) |
*Call stopmoving in moveidle.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index e3e11c2e840..d8c4d3bb16a 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10394,7 +10394,6 @@ void Unit::setDeathState(DeathState s) ClearDiminishings(); GetMotionMaster()->Clear(false); GetMotionMaster()->MoveIdle(); - StopMoving(); //without this when removing IncreaseMaxHealth aura player may stuck with 1 hp //do not why since in IncreaseMaxHealth currenthealth is checked SetHealth(0); @@ -13138,7 +13137,6 @@ void Unit::SetCharmedOrPossessedBy(Unit* charmer, bool possess) if(GetTypeId() == TYPEID_UNIT) { ((Creature*)this)->AI()->OnCharmed(true); - StopMoving(); GetMotionMaster()->Clear(false); GetMotionMaster()->MoveIdle(); } |