diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp index 56675f48218..bbadafe7112 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp @@ -303,6 +303,8 @@ void EscortAI::Start(bool isActiveAttacker /* = true*/, bool run /* = false */, return; } + _running = run; + if (!_manualPath && resetWaypoints) FillPointMovementListForCreature(); @@ -314,7 +316,6 @@ void EscortAI::Start(bool isActiveAttacker /* = true*/, bool run /* = false */, // set variables _activeAttacker = isActiveAttacker; - _running = run; _playerGUID = playerGUID; _escortQuest = quest; _instantRespawn = instantRespawn; |