From 9ece48a55c3d107882d98f7a6d9e2461139a060e Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 22 Dec 2023 11:35:28 +0100 Subject: Scripts/Hour of Twilight: assign the correct scriptname to the instance --- .../Kalimdor/CavernsOfTime/HourOfTwilight/hour_of_twilight.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/HourOfTwilight/hour_of_twilight.h b/src/server/scripts/Kalimdor/CavernsOfTime/HourOfTwilight/hour_of_twilight.h index 618911935c4..594f27a0ee2 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/HourOfTwilight/hour_of_twilight.h +++ b/src/server/scripts/Kalimdor/CavernsOfTime/HourOfTwilight/hour_of_twilight.h @@ -21,7 +21,7 @@ #include "CreatureAIImpl.h" constexpr char const* DataHeader = "HOT"; -constexpr char const* HoTScriptName = "instance_throne_of_the_four_winds"; +constexpr char const* HoTScriptName = "instance_hour_of_twilight"; constexpr uint32 const EncounterCount = 3; @@ -33,17 +33,12 @@ enum TotFWDataTypes BOSS_ARCHBISHOP_BENEDICTUS = 2 }; -enum TotFWCreatureIds -{ - // Bosses -}; - template -inline AI* GetThroneOfTheFourWindsAI(T* obj) +inline AI* GetGetHourOfTwilightAI(T* obj) { return GetInstanceAI(obj, HoTScriptName); } -#define RegisterThroneOfTheFourWindsCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetThroneOfTheFourWindsAI) +#define RegisterHourOfTwilightAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetGetHourOfTwilightAI) #endif // _Hour_of_Twilight_h__ -- cgit v1.2.3