aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureAI.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-11 11:46:48 -0500
committermegamage <none@none>2009-05-11 11:46:48 -0500
commitf631b2a2d69775b818814f6c2ee0bc3daa3d616b (patch)
tree7ecbfc19d43c048883e733cf621efac199f48b00 /src/game/CreatureAI.cpp
parent565896311778a76a86cee66406447e166d5344cd (diff)
*Update creature AI functions.
--HG-- branch : trunk
Diffstat (limited to 'src/game/CreatureAI.cpp')
-rw-r--r--src/game/CreatureAI.cpp2
1 files changed, 2 insertions, 0 deletions
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)