aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2019-06-23 23:32:21 +0200
committerTreeston <treeston.mmoc@gmail.com>2019-06-23 23:32:21 +0200
commit854a113fc7b6610873b77355aed88900ce3b5bc0 (patch)
treec8bd5b0ab06b610aa8cdf281ce0c5ea6e65428f0 /src
parent1158f267df22c0782fb5f20f7de31f5643ac0b58 (diff)
AI/SmartAI: Properly forward to inherited CreatureAI::JustAppeared in SmartAI::JustAppeared. Fixes #23491.
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/SmartScripts/SmartAI.cpp3
1 files changed, 3 insertions, 0 deletions
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;