diff options
Diffstat (limited to 'src/server/game/AI/ScriptedAI')
| -rw-r--r-- | src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp index a4da6d466cc..691ca506ede 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp @@ -83,7 +83,7 @@ void EscortAI::InitializeAI() if (me->GetFaction() != me->GetCreatureTemplate()->faction) me->RestoreFaction(); - + Reset(); } @@ -97,7 +97,7 @@ void EscortAI::EnterEvadeMode(EvadeReason /*why*/) me->RemoveAllAuras(); me->CombatStop(true); me->SetLootRecipient(nullptr); - + EngagementOver(); if (HasEscortState(STATE_ESCORT_ESCORTING)) @@ -300,7 +300,7 @@ void EscortAI::Start(bool isActiveAttacker /* = true*/, bool run /* = false */, } _running = run; - + if (!_manualPath && resetWaypoints) FillPointMovementListForCreature(); |
