diff options
| author | Ovahlord <dreadkiller@gmx.de> | 2023-12-22 11:35:28 +0100 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2023-12-22 11:35:28 +0100 |
| commit | 9ece48a55c3d107882d98f7a6d9e2461139a060e (patch) | |
| tree | e6e5b4067bcb40600a3ac3c203a765fbada9afde /src | |
| parent | c336a6b53a349064b990c135a6e6a4bf6eb791fc (diff) | |
Scripts/Hour of Twilight: assign the correct scriptname to the instance
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/scripts/Kalimdor/CavernsOfTime/HourOfTwilight/hour_of_twilight.h | 11 |
1 files changed, 3 insertions, 8 deletions
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 <class AI, class T> -inline AI* GetThroneOfTheFourWindsAI(T* obj) +inline AI* GetGetHourOfTwilightAI(T* obj) { return GetInstanceAI<AI>(obj, HoTScriptName); } -#define RegisterThroneOfTheFourWindsCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetThroneOfTheFourWindsAI) +#define RegisterHourOfTwilightAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetGetHourOfTwilightAI) #endif // _Hour_of_Twilight_h__ |
