*Call stopmoving in moveidle.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-13 14:42:57 -06:00
1 parent bb7391f129
commit 146b2560aa
14 files changed
+11 -24

No files matched your search

-1
View File
@@ -63,7 +63,6 @@ void PetAI::_stopAttack()
if( !i_pet.isAlive() )
{
DEBUG_LOG("Creature stoped attacking cuz his dead [guid=%u]", i_pet.GetGUIDLow());
i_pet.StopMoving();
i_pet.GetMotionMaster()->Clear();
i_pet.GetMotionMaster()->MoveIdle();
i_pet.CombatStop();