From 854a113fc7b6610873b77355aed88900ce3b5bc0 Mon Sep 17 00:00:00 2001 From: Treeston Date: Sun, 23 Jun 2019 23:32:21 +0200 Subject: AI/SmartAI: Properly forward to inherited CreatureAI::JustAppeared in SmartAI::JustAppeared. Fixes #23491. --- src/server/game/AI/SmartScripts/SmartAI.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index acbd5888aa9..adb030fdd6e 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -526,6 +526,9 @@ void SmartAI::InitializeAI() void SmartAI::JustAppeared() { + CreatureAI::JustAppeared(); + + if (me->isDead()) return; -- cgit v1.2.3