From 8ca16364e6580f4b114dd8417e5cc25c2af7cb56 Mon Sep 17 00:00:00 2001 From: killerwife Date: Fri, 13 Sep 2024 22:35:26 +0200 Subject: [PATCH] AI: Make ScriptedAI::EnterEvadeMode call proper parent --- src/game/AI/ScriptDevAI/include/sc_creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/AI/ScriptDevAI/include/sc_creature.cpp b/src/game/AI/ScriptDevAI/include/sc_creature.cpp index 526166ee34..ca5081aa50 100644 --- a/src/game/AI/ScriptDevAI/include/sc_creature.cpp +++ b/src/game/AI/ScriptDevAI/include/sc_creature.cpp @@ -52,7 +52,7 @@ void ScriptedAI::EnterCombat(Unit* enemy) */ void ScriptedAI::EnterEvadeMode() { - UnitAI::EnterEvadeMode(); + CreatureAI::EnterEvadeMode(); ResetTimersOnEvade(); Reset();