diff options
| author | Killyana <6587064+Killyana@users.noreply.github.com> | 2019-04-25 17:57:54 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-12-02 00:39:20 +0100 |
| commit | 36e009baf2d37fe79c5298e68fb1b00b174624a2 (patch) | |
| tree | 8ead3620b967025d8d33ac0fad47f7623a318ecf | |
| parent | b717603a9b3a676e800fc401f4544735287791a9 (diff) | |
Core: Restore reset in EscortAI::InitializeAI (#23197)
Closes #23008
(cherry picked from commit 56b65329e5dc2fb04d5b1d6068d957490146ee89)
| -rw-r--r-- | src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp index 2343d711243..da3fe4c0783 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp @@ -81,6 +81,8 @@ void EscortAI::InitializeAI() if (me->GetFaction() != me->GetCreatureTemplate()->faction) me->RestoreFaction(); + + Reset(); } void EscortAI::ReturnToLastPoint() |
