Core/Scripts: Code style cleanup in ScriptedAI and BossAI

This commit is contained in:
Shauren
2011-03-19 10:54:16 +01:00
parent 6eb5014182
commit 1a4a618d81
19 changed files with 266 additions and 250 deletions
@@ -144,7 +144,7 @@ public:
void Reset()
{
if (!IsCombatMovement())
if (!IsCombatMovementAllowed())
SetCombatMovement(true);
m_uiPhase = PHASE_START;
@@ -547,7 +547,7 @@ public:
me->SetInCombatWith(pWho);
pWho->SetInCombatWith(me);
if (IsCombatMovement())
if (IsCombatMovementAllowed())
me->GetMotionMaster()->MoveChase(pWho);
}
}