diff --git a/src/server/game/Entities/GameObject/GameObjectData.h b/src/server/game/Entities/GameObject/GameObjectData.h index 0bc3dc7e454..6ab5c7360e1 100644 --- a/src/server/game/Entities/GameObject/GameObjectData.h +++ b/src/server/game/Entities/GameObject/GameObjectData.h @@ -22,6 +22,7 @@ #include "DBCEnums.h" #include "QuaternionData.h" #include "SharedDefines.h" +#include "WorldPacket.h" #include #include diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp index 53fa4f340c0..bb8b4bcf104 100644 --- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp +++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp @@ -15,16 +15,19 @@ * with this program. If not, see . */ -#include "ScriptMgr.h" -#include "ScriptedCreature.h" -#include "ScriptedGossip.h" -#include "LFGMgr.h" -#include "Player.h" -#include "Group.h" -#include "SpellScript.h" -#include "SpellAuraEffects.h" #include "shadowfang_keep.h" #include "GridNotifiersImpl.h" +#include "Group.h" +#include "InstanceScript.h" +#include "LFGMgr.h" +#include "Map.h" +#include "MotionMaster.h" +#include "Player.h" +#include "ScriptedCreature.h" +#include "ScriptedGossip.h" +#include "ScriptMgr.h" +#include "SpellAuraEffects.h" +#include "SpellScript.h" enum ApothecarySpells { diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h index 37d2905a8fb..8ca22a4da5e 100644 --- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h +++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h @@ -34,10 +34,10 @@ enum SKDataTypes DATA_APOTHECARY_HUMMEL = 6 }; -template -inline AI* GetShadowfangKeepAI(Creature* creature) +template +inline AI* GetShadowfangKeepAI(T* obj) { - return GetInstanceAI(creature, SFKScriptName); + return GetInstanceAI(obj, SFKScriptName); } #endif