Core/EscortAI: initialize run state before filling waypoints
Port From (https://github.com/TrinityCore/TrinityCore/commit/b606c22dfdf204f8b49bce78304ed1ad1eec9029)
This commit is contained in:
@@ -403,6 +403,8 @@ namespace Game.AI
|
||||
return;
|
||||
}
|
||||
|
||||
_running = run;
|
||||
|
||||
if (!_manualPath && resetWaypoints)
|
||||
FillPointMovementListForCreature();
|
||||
|
||||
@@ -414,7 +416,6 @@ namespace Game.AI
|
||||
|
||||
// set variables
|
||||
_activeAttacker = isActiveAttacker;
|
||||
_running = run;
|
||||
_playerGUID = playerGUID;
|
||||
_escortQuest = quest;
|
||||
_instantRespawn = instantRespawn;
|
||||
|
||||
Reference in New Issue
Block a user