Core/Spells: added underlying type to SpellEffects enum to fix a couple mismatching sign warnings

This commit is contained in:
Ovahlord committed 2023-06-02 21:06:55 +02:00
1 parent 08203a1e35
commit 6cbc8119f1
2 files changed
+2 -2

No files matched your search

@@ -901,7 +901,7 @@ enum Team
TEAM_OTHER = 0 // if ReputationListId > 0 && Flags != FACTION_FLAG_TEAM_HEADER
};
enum SpellEffects
enum SpellEffects : uint32
{
SPELL_EFFECT_INSTAKILL = 1,
SPELL_EFFECT_SCHOOL_DAMAGE = 2,
+1 -1
View File
@@ -399,7 +399,7 @@ bool SpellEffectInfo::IsAura() const
bool SpellEffectInfo::IsAura(AuraType aura) const
{
return IsAura() && ApplyAuraName == uint32(aura);
return IsAura() && ApplyAuraName == aura;
}
bool SpellEffectInfo::IsTargetingArea() const