From 6a6cefb512e89350850e9fae5325f35ec25d8290 Mon Sep 17 00:00:00 2001 From: IntelligentQuantum Date: Thu, 28 Dec 2023 22:45:16 +0330 Subject: [PATCH] chore(Scripts/EK): remove useless includes (#18075) * chore(Scripts/Kalimdor): remove useless includes * chore(Scripts/EK): remove useless includes --- .../BlackrockSpire/instance_blackrock_spire.cpp | 2 -- .../EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp | 1 - src/server/scripts/EasternKingdoms/ScarletEnclave/chapter3.cpp | 1 - src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp | 1 - src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp | 1 - src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp | 1 - src/server/scripts/EasternKingdoms/zone_ghostlands.cpp | 1 - 7 files changed, 8 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp index 47f66c506..fc06b6222 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/instance_blackrock_spire.cpp @@ -23,13 +23,11 @@ #include "GridNotifiers.h" #include "InstanceMapScript.h" #include "InstanceScript.h" -#include "ObjectDefines.h" #include "ObjectMgr.h" #include "ScriptedCreature.h" #include "SpellScript.h" #include "SpellScriptLoader.h" #include "blackrock_spire.h" -#include "GridNotifiersImpl.h" uint32 const DragonspireMobs[3] = { NPC_BLACKHAND_DREADWEAVER, NPC_BLACKHAND_SUMMONER, NPC_BLACKHAND_VETERAN }; diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp index 0ef52588e..60afcf517 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/MoltenCore/boss_garr.cpp @@ -15,7 +15,6 @@ * with this program. If not, see . */ -#include "Containers.h" #include "CreatureScript.h" #include "ObjectAccessor.h" #include "ScriptedCreature.h" diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter3.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter3.cpp index 746f18d9c..ff1dede33 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter3.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter3.cpp @@ -18,7 +18,6 @@ #include "SpellInfo.h" #include "SpellScript.h" #include "SpellScriptLoader.h" -#include "Unit.h" class spell_q12779_an_end_to_all_things : public SpellScript { diff --git a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp index 09fb2de49..89e4b1c96 100644 --- a/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp +++ b/src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp @@ -23,7 +23,6 @@ #include "SpellScript.h" #include "SpellScriptLoader.h" #include "TaskScheduler.h" -#include "WaypointMgr.h" #include "zulgurub.h" enum Says diff --git a/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp b/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp index 034698592..9ab3451f5 100644 --- a/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_blasted_lands.cpp @@ -20,7 +20,6 @@ Blasted_Lands Quest support: 3628. Teleporter to Rise of the Defiler. */ -#include "CreatureScript.h" #include "Group.h" #include "Player.h" #include "ScriptedCreature.h" diff --git a/src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp b/src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp index 6e4c11e7d..8c89c4428 100644 --- a/src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp +++ b/src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp @@ -18,7 +18,6 @@ #include "CreatureScript.h" #include "Player.h" #include "ScriptedCreature.h" -#include "ScriptedGossip.h" /*###### ## NPC 9836: Maredis Firestar diff --git a/src/server/scripts/EasternKingdoms/zone_ghostlands.cpp b/src/server/scripts/EasternKingdoms/zone_ghostlands.cpp index ca2941346..da2cb493e 100644 --- a/src/server/scripts/EasternKingdoms/zone_ghostlands.cpp +++ b/src/server/scripts/EasternKingdoms/zone_ghostlands.cpp @@ -20,7 +20,6 @@ #include "Player.h" #include "ScriptedCreature.h" #include "ScriptedEscortAI.h" -#include "ScriptedGossip.h" /*###### ## npc_ranger_lilatha