aboutsummaryrefslogtreecommitdiff
path: root/src/game/PetAI.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-13 14:42:57 -0600
committermegamage <none@none>2009-03-13 14:42:57 -0600
commit146b2560aa8a7d0fc8a90ec3af70d1a8e01e514d (patch)
tree295c0631404e49ec8acd492513ca614038ca6253 /src/game/PetAI.cpp
parentbb7391f129e831cd5daac17d54245738571c5d32 (diff)
*Call stopmoving in moveidle.
--HG-- branch : trunk
Diffstat (limited to 'src/game/PetAI.cpp')
-rw-r--r--src/game/PetAI.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/PetAI.cpp b/src/game/PetAI.cpp
index 72c8c1e760b..ad11a49c07d 100644
--- a/src/game/PetAI.cpp
+++ b/src/game/PetAI.cpp
@@ -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();