mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
refactor(Core): remove unused imports (#9767)
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
*/
|
||||
|
||||
#include "GridNotifiers.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "PassiveAI.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptedCreature.h"
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
constexpr auto SPELL_TRICK = 24714;
|
||||
constexpr auto SPELL_TREAT = 24715;
|
||||
|
||||
@@ -27,7 +27,6 @@ EndScriptData */
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "SpellInfo.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
/*
|
||||
A few notes for future developement:
|
||||
|
||||
@@ -27,7 +27,6 @@ EndScriptData
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
#define GOSSIP_NETHER_DRAKE "I'm ready to fly! Take me up, dragon!"
|
||||
#define GOSSIP_IRONWING "I'd like to take a flight around Stormwind Harbor."
|
||||
|
||||
@@ -36,7 +36,6 @@ npc_locksmith 75% list of keys needs to be confirmed
|
||||
npc_firework 100% NPC's summoned by rockets and rocket clusters, for making them cast visual
|
||||
EndContentData */
|
||||
|
||||
#include "Cell.h"
|
||||
#include "CellImpl.h"
|
||||
#include "Chat.h"
|
||||
#include "CombatAI.h"
|
||||
@@ -44,8 +43,6 @@ EndContentData */
|
||||
#include "DBCStructure.h"
|
||||
#include "GameEventMgr.h"
|
||||
#include "GridNotifiers.h"
|
||||
#include "GridNotifiersImpl.h"
|
||||
#include "Group.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "PassiveAI.h"
|
||||
#include "Pet.h"
|
||||
@@ -58,6 +55,12 @@ EndContentData */
|
||||
#include "WaypointMgr.h"
|
||||
#include "World.h"
|
||||
|
||||
// TODO: this import is not necessary for compilation and marked as unused by the IDE
|
||||
// however, for some reasons removing it would cause a damn linking issue
|
||||
// there is probably some underlying problem with imports which should properly addressed
|
||||
// see: https://github.com/azerothcore/azerothcore-wotlk/issues/9766
|
||||
#include "GridNotifiersImpl.h"
|
||||
|
||||
enum elderClearwater
|
||||
{
|
||||
EVENT_CLEARWATER_ANNOUNCE = 1,
|
||||
|
||||
Reference in New Issue
Block a user