diff options
| author | Killyana <6587064+Killyana@users.noreply.github.com> | 2019-04-25 17:57:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-25 17:57:54 +0200 |
| commit | 56b65329e5dc2fb04d5b1d6068d957490146ee89 (patch) | |
| tree | 84e3fba924f20feb2b1c435166fb9b754b3471bb /src | |
| parent | 32e1de39a26628dcb64bc21ad415afb2ad938925 (diff) | |
Core: Restore reset in EscortAI::InitializeAI (#23197)
Closes #23008
Diffstat (limited to 'src')
| -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 fc0b4364bfd..00057f7aaec 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp @@ -84,6 +84,8 @@ void EscortAI::InitializeAI() if (me->GetFaction() != me->GetCreatureTemplate()->faction) me->RestoreFaction(); + + Reset(); } void EscortAI::ReturnToLastPoint() |
