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 adbfa359177..2343d711243 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp @@ -300,6 +300,8 @@ void EscortAI::Start(bool isActiveAttacker /* = true*/, bool run /* = false */, return; } + _running = run; + if (!_manualPath && resetWaypoints) FillPointMovementListForCreature(); @@ -311,7 +313,6 @@ void EscortAI::Start(bool isActiveAttacker /* = true*/, bool run /* = false */, // set variables _activeAttacker = isActiveAttacker; - _running = run; _playerGUID = playerGUID; _escortQuest = quest; _instantRespawn = instantRespawn; |