Core/Scripts: Code style cleanup in ScriptedAI and BossAI
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user