aboutsummaryrefslogtreecommitdiff
path: root/src/game/GuardAI.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-22 17:58:46 -0500
committermegamage <none@none>2009-04-22 17:58:46 -0500
commit3b49bfb1ff8fc7a275714fffc2494f767f287574 (patch)
tree9916063007efa26f95b4cffbfb7e7f4a92ec6c80 /src/game/GuardAI.cpp
parent3a316370b1bc71c68fda3b6d27a8373033e16d83 (diff)
[7697] Interrupt casting at enter to evade mode. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/GuardAI.cpp')
-rw-r--r--src/game/GuardAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GuardAI.cpp b/src/game/GuardAI.cpp
index 710acede150..b716642ebd7 100644
--- a/src/game/GuardAI.cpp
+++ b/src/game/GuardAI.cpp
@@ -67,7 +67,7 @@ void GuardAI::EnterEvadeMode()
i_state = STATE_NORMAL;
i_victimGuid = 0;
- m_creature->CombatStop();
+ m_creature->CombatStop(true);
m_creature->DeleteThreatList();
return;
}
@@ -98,7 +98,7 @@ void GuardAI::EnterEvadeMode()
m_creature->RemoveAllAuras();
m_creature->DeleteThreatList();
i_victimGuid = 0;
- m_creature->CombatStop();
+ m_creature->CombatStop(true);
i_state = STATE_NORMAL;
// Remove TargetedMovementGenerator from MotionMaster stack list, and add HomeMovementGenerator instead