aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakrom23 <akrom23@users.noreply.github.com>2020-07-09 19:34:36 +0200
committerKillyana <Killyana@users.noreply.github.com>2020-07-09 19:34:36 +0200
commitf99a79cb4301f1d76d95b9c953918216947a2b94 (patch)
tree4832a9dee2d534c9cda2189cb8ad45f43c55a051
parent14db2215d37c8081aff32a22b0e40b1cb8d6ec96 (diff)
Creature/AI: Remove SetVisible from SmartAI::InitializeAI
Closes #24184
-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 b8f532ecd39..d348515ef45 100644
--- a/src/server/game/AI/SmartScripts/SmartAI.cpp
+++ b/src/server/game/AI/SmartScripts/SmartAI.cpp
@@ -521,9 +521,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;