From f631b2a2d69775b818814f6c2ee0bc3daa3d616b Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 11 May 2009 11:46:48 -0500 Subject: *Update creature AI functions. --HG-- branch : trunk --- src/game/CreatureAI.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/CreatureAI.cpp') diff --git a/src/game/CreatureAI.cpp b/src/game/CreatureAI.cpp index 123fa1182a1..8633ee2e1f4 100644 --- a/src/game/CreatureAI.cpp +++ b/src/game/CreatureAI.cpp @@ -112,6 +112,8 @@ void CreatureAI::EnterEvadeMode() if(me->isAlive()) me->GetMotionMaster()->MoveTargetedHome(); + + Reset(); } inline bool SelectTargetHelper(const Unit * me, const Unit * target, const bool &playerOnly, const float &dist, const int32 &aura) -- cgit v1.2.3