From b2ddd103692bfba6f0f438b4185f6a5e7ed160fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Borz=C3=AC?= Date: Wed, 13 Nov 2024 06:35:15 +0100 Subject: [PATCH] refactor(src/server/scripts): remove unused imports (#20540) --- src/server/scripts/Commands/cs_list.cpp | 1 - src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp | 2 -- .../CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp | 1 - .../CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp | 2 -- src/server/scripts/Kalimdor/zone_moonglade.cpp | 1 - .../ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp | 1 - .../FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp | 1 - 7 files changed, 9 deletions(-) diff --git a/src/server/scripts/Commands/cs_list.cpp b/src/server/scripts/Commands/cs_list.cpp index 9702616f247054..bb66e326c608c7 100644 --- a/src/server/scripts/Commands/cs_list.cpp +++ b/src/server/scripts/Commands/cs_list.cpp @@ -32,7 +32,6 @@ EndScriptData */ #include "MapMgr.h" #include "ObjectMgr.h" #include "Player.h" -#include "Random.h" #include "SpellAuraEffects.h" using namespace Acore::ChatCommands; diff --git a/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp b/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp index c715e3542e4b25..cd3612d4ebe3e7 100644 --- a/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp +++ b/src/server/scripts/EasternKingdoms/zone_eversong_woods.cpp @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ - -#include "Common.h" #include "CreatureScript.h" #include "ScriptedCreature.h" diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp index 431892aad114f6..4a11a8d1325fc7 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp @@ -19,7 +19,6 @@ #include "InstanceMapScript.h" #include "InstanceScript.h" #include "Player.h" -#include "WorldPacket.h" #include "hyjal.h" /* Battle of Mount Hyjal encounters: diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp index 9be4fa88847c54..9265e4e91d24f6 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/TheBlackMorass/instance_the_black_morass.cpp @@ -18,8 +18,6 @@ #include "InstanceMapScript.h" #include "InstanceScript.h" #include "Player.h" -#include "SpellInfo.h" -#include "TemporarySummon.h" #include "the_black_morass.h" const Position PortalLocation[4] = diff --git a/src/server/scripts/Kalimdor/zone_moonglade.cpp b/src/server/scripts/Kalimdor/zone_moonglade.cpp index a5bfb69b04a8d1..baa562a7603f94 100644 --- a/src/server/scripts/Kalimdor/zone_moonglade.cpp +++ b/src/server/scripts/Kalimdor/zone_moonglade.cpp @@ -33,7 +33,6 @@ EndContentData */ #include "Cell.h" #include "CreatureScript.h" #include "GridNotifiers.h" -#include "GridNotifiersImpl.h" #include "Player.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp index a0c17eae5c1615..c2dbb9b1e9fe08 100644 --- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp +++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/instance_ruby_sanctum.cpp @@ -20,7 +20,6 @@ #include "InstanceScript.h" #include "Player.h" #include "SpellScriptLoader.h" -#include "TemporarySummon.h" #include "WorldPacket.h" #include "ruby_sanctum.h" #include "SpellScript.h" diff --git a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp index dda74b74def9cd..73550b3dbc117a 100644 --- a/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp @@ -15,7 +15,6 @@ * with this program. If not, see . */ -#include "CreatureScript.h" #include "InstanceMapScript.h" #include "Player.h" #include "ScriptedCreature.h"