Core/AI: fixed filling database waypoints with correct movement type for escortAI
This commit is contained in:
1 parent
97a4cf4a12
commit
52da459a83
1 file changed
+3
-1
@@ -395,6 +395,9 @@ void EscortAI::Start(bool isActiveAttacker /* = true*/, bool run /* = false */,
|
||||
return;
|
||||
}
|
||||
|
||||
// Initialize running variable before filling waypoints
|
||||
_running = run;
|
||||
|
||||
if (!_manualPath && resetWaypoints)
|
||||
FillPointMovementListForCreature();
|
||||
|
||||
@@ -406,7 +409,6 @@ void EscortAI::Start(bool isActiveAttacker /* = true*/, bool run /* = false */,
|
||||
|
||||
// set variables
|
||||
_activeAttacker = isActiveAttacker;
|
||||
_running = run;
|
||||
_playerGUID = playerGUID;
|
||||
_escortQuest = quest;
|
||||
_instantRespawn = instantRespawn;
|
||||
|
||||
Reference in new issue
Block a user