aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/TheStockade
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-11-15 11:42:30 +0100
committerShauren <shauren.trinity@gmail.com>2025-11-15 11:42:30 +0100
commit21ff7f250366220e31feb79d30c2e5aa20832d50 (patch)
tree79eb78f98eaa122b1643fd57dee0afcd545fe7ba /src/server/scripts/EasternKingdoms/TheStockade
parenta8dd7dcf0e92addf21667e92ab7609cd6fea55f4 (diff)
Core/Misc: Add missing includes
Diffstat (limited to 'src/server/scripts/EasternKingdoms/TheStockade')
-rw-r--r--src/server/scripts/EasternKingdoms/TheStockade/the_stockade.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/EasternKingdoms/TheStockade/the_stockade.h b/src/server/scripts/EasternKingdoms/TheStockade/the_stockade.h
index ede0b8fdc56..f12fc18b24e 100644
--- a/src/server/scripts/EasternKingdoms/TheStockade/the_stockade.h
+++ b/src/server/scripts/EasternKingdoms/TheStockade/the_stockade.h
@@ -41,10 +41,10 @@ enum SSCreatureIds
NPC_MORTIMER_MOLOCH = 46482
};
-template<typename AI>
-inline AI* GetStormwindStockadeAI(Creature* creature)
+template <class AI, class T>
+inline AI* GetStormwindStockadeAI(T* obj)
{
- return GetInstanceAI<AI>(creature, StormwindStockadeScriptName);
+ return GetInstanceAI<AI>(obj, StormwindStockadeScriptName);
}
#define RegisterStormwindStockadesAI(AI) RegisterCreatureAIWithFactory(AI, GetStormwindStockadeAI)