From 4be3b7b49fc3f92deaebdc84282b5f85c7a6a481 Mon Sep 17 00:00:00 2001 From: 0blu Date: Sat, 7 Dec 2024 15:04:25 +0100 Subject: [PATCH] Fix missing includes --- src/game/Spells/Spell.cpp | 1 + src/game/Spells/Spell.h | 2 ++ src/game/Spells/SpellMgr.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/src/game/Spells/Spell.cpp b/src/game/Spells/Spell.cpp index 52524488bcf..9eff5ea9fe2 100644 --- a/src/game/Spells/Spell.cpp +++ b/src/game/Spells/Spell.cpp @@ -35,6 +35,7 @@ #include "DynamicObject.h" #include "Group.h" #include "MapManager.h" +#include "ScriptMgr.h" #include "ObjectAccessor.h" #include "SharedDefines.h" #include "LootMgr.h" diff --git a/src/game/Spells/Spell.h b/src/game/Spells/Spell.h index 01ad933b819..c52da437275 100644 --- a/src/game/Spells/Spell.h +++ b/src/game/Spells/Spell.h @@ -37,6 +37,8 @@ #include + +struct SpellScript; class WorldSession; class WorldPacket; class DynamicObj; diff --git a/src/game/Spells/SpellMgr.cpp b/src/game/Spells/SpellMgr.cpp index 417270d3e91..a6bf5f86285 100644 --- a/src/game/Spells/SpellMgr.cpp +++ b/src/game/Spells/SpellMgr.cpp @@ -27,6 +27,7 @@ #include "World.h" #include "Chat.h" #include "Spell.h" +#include "ScriptMgr.h" #include "BattleGroundMgr.h" #include "MapManager.h" #include "Unit.h"