From 36e009baf2d37fe79c5298e68fb1b00b174624a2 Mon Sep 17 00:00:00 2001 From: Killyana <6587064+Killyana@users.noreply.github.com> Date: Thu, 25 Apr 2019 17:57:54 +0200 Subject: Core: Restore reset in EscortAI::InitializeAI (#23197) Closes #23008 (cherry picked from commit 56b65329e5dc2fb04d5b1d6068d957490146ee89) --- src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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() -- cgit v1.2.3