From f99a79cb4301f1d76d95b9c953918216947a2b94 Mon Sep 17 00:00:00 2001 From: akrom23 Date: Thu, 9 Jul 2020 19:34:36 +0200 Subject: Creature/AI: Remove SetVisible from SmartAI::InitializeAI Closes #24184 --- src/server/game/AI/SmartScripts/SmartAI.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3