aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorakrom23 <akrom23@users.noreply.github.com>2020-07-09 19:34:36 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-22 00:34:25 +0100
commit77d76ecc1d13069fcff3fd1b609c924bca5ee965 (patch)
treeb3b561a18932a1953d00dc4a7ba29dce49249416 /src
parent0ac5b1da8cf79bda25789abb14ec8fb21cd93089 (diff)
Creature/AI: Remove SetVisible from SmartAI::InitializeAI
Closes #24184 (cherry picked from commit f99a79cb4301f1d76d95b9c953918216947a2b94)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/SmartScripts/SmartAI.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp
index 066747b0610..e9727e3f8b9 100644
--- a/src/server/game/AI/SmartScripts/SmartAI.cpp
+++ b/src/server/game/AI/SmartScripts/SmartAI.cpp
@@ -523,9 +523,6 @@ void SmartAI::InitializeAI()
_despawnTime = 0;
_despawnState = 0;
_escortState = SMART_ESCORT_NONE;
-
- me->SetVisible(true);
-
_followGUID.Clear(); // do not reset follower on Reset(), we need it after combat evade
_followDistance = 0;
_followAngle = 0;