diff options
author | Ovahlord <dreadkiller@gmx.de> | 2023-11-06 16:55:30 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2023-11-07 16:17:55 +0100 |
commit | a6c9e44c55c0ee76fdac589964cef9d1e3201185 (patch) | |
tree | e19ed2493bb832e2783ee22b2d276b3f122e2dec | |
parent | 6699539f5889d85c24010b429d098534bfc2c3b7 (diff) |
Scripts/LCT: gave General Husam's enums unique names to reduce linking time
-rw-r--r-- | src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp b/src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp index 1109636aab2..2198ea32f9a 100644 --- a/src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp +++ b/src/server/scripts/Kalimdor/LostCityOfTheTolvir/boss_general_husam.cpp @@ -28,7 +28,7 @@ #include "TemporarySummon.h" #include "Vehicle.h" -enum Spells +enum HusamSpells { // General Husam SPELL_HAMMER_FIST = 83654, @@ -64,7 +64,7 @@ enum Spells SPELL_EJECT_ALL_PASSENGERS = 50630 }; -enum Events +enum HusamEvents { // General Husam EVENT_HAMMER_FIST = 1, @@ -80,7 +80,7 @@ enum Events EVENT_CLEAR_AURAS }; -enum Actions +enum HusamActions { // General Husam ACTION_SAY_DETONATE_TRAPS = 0, @@ -90,7 +90,7 @@ enum Actions ACTION_DETONATE = 1 }; -enum Texts +enum HusamTexts { // General Husam SAY_AGGRO = 0, @@ -101,7 +101,7 @@ enum Texts SAY_DEATH = 5 }; -enum Misc +enum HusamMisc { SEAT_PLAYER = 0 }; @@ -479,7 +479,7 @@ class spell_husam_bad_intentions : public SpellScript { Unit* target = GetHitUnit(); target->CastStop(); - target->CastSpell(caster, GetSpellInfo()->GetEffect(EFFECT_1).BasePoints, true); + target->CastSpell(caster, static_cast<uint32>(GetSpellInfo()->GetEffect(EFFECT_1).BasePoints), true); } } |