diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-08-28 23:42:25 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-08-28 23:42:25 +0200 |
commit | 4c59532865a2e26b7aa06e6dd3c462d3397a36ce (patch) | |
tree | 27c0ec00c425bce23dbc7bf30cb94125c7711d81 /src/server/game/Spells/Spell.cpp | |
parent | 203f175ec9f2479ac6600ca8bc9bd91625a03512 (diff) |
Core/Spells: Begin unifying spell effect access api with master branch
* Introduce SpellInfo::GetEffects and SpellInfo::GetEffect functoins
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 1847ddaf111..46e0000bb78 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -6295,7 +6295,7 @@ bool Spell::CheckSpellCancelsAuraEffect(AuraType auraType, uint32* param1) const for (AuraEffect const* aurEff : auraEffects) { SpellInfo const* auraInfo = aurEff->GetSpellInfo(); - if (m_spellInfo->SpellCancelsAuraEffect(auraInfo, aurEff->GetEffIndex())) + if (m_spellInfo->SpellCancelsAuraEffect(aurEff)) continue; if (param1) |