mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 23:43:44 +00:00
refactor(Core): remove unused imports (#9767)
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "InstanceScript.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "magtheridons_lair.h"
|
||||
|
||||
DoorData const doorData[] =
|
||||
|
||||
@@ -31,7 +31,6 @@ EndContentData */
|
||||
#include "Cell.h"
|
||||
#include "CellImpl.h"
|
||||
#include "GridNotifiers.h"
|
||||
#include "GridNotifiersImpl.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedGossip.h"
|
||||
@@ -40,6 +39,12 @@ EndContentData */
|
||||
#include "SpellInfo.h"
|
||||
#include "SpellScript.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"
|
||||
|
||||
// Ours
|
||||
enum deathsdoorfell
|
||||
{
|
||||
|
||||
@@ -44,7 +44,6 @@ EndContentData */
|
||||
#include "ScriptedEscortAI.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "SpellScript.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
// Ours
|
||||
class spell_q10612_10613_the_fel_and_the_furious : public SpellScriptLoader
|
||||
|
||||
@@ -36,7 +36,6 @@ EndContentData */
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedEscortAI.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
/*######
|
||||
## npc_raliq_the_drunk
|
||||
|
||||
@@ -40,7 +40,6 @@ EndContentData */
|
||||
#include "ScriptedGossip.h"
|
||||
#include "SpellAuras.h"
|
||||
#include "SpellScript.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
// Ours
|
||||
enum fumping
|
||||
|
||||
@@ -36,7 +36,6 @@ EndContentData */
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedEscortAI.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
// Ours
|
||||
enum eNaturalist
|
||||
|
||||
Reference in New Issue
Block a user