[7697] Interrupt casting at enter to evade mode. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-22 17:58:46 -05:00
parent 3a316370b1
commit 3b49bfb1ff
7 changed files with 15 additions and 15 deletions

View File

@@ -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