diff options
author | megamage <none@none> | 2009-04-22 17:58:46 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-22 17:58:46 -0500 |
commit | 3b49bfb1ff8fc7a275714fffc2494f767f287574 (patch) | |
tree | 9916063007efa26f95b4cffbfb7e7f4a92ec6c80 /src/game/GuardAI.cpp | |
parent | 3a316370b1bc71c68fda3b6d27a8373033e16d83 (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.cpp | 4 |
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 |