diff options
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index ce560a80c8c..e792559cce4 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -4364,7 +4364,7 @@ AuraEffect * Unit::GetAuraEffectOfRankedSpell(uint32 spellId, uint8 effIndex, ui uint32 rankSpell = spellmgr.GetFirstSpellInChain(spellId); while(true) { - if (AuraEffect * aurEff = GetAuraEffect(spellId, effIndex, caster)) + if (AuraEffect * aurEff = GetAuraEffect(rankSpell, effIndex, caster)) return aurEff; SpellChainNode const * chainNode = spellmgr.GetSpellChainNode(rankSpell); if (!chainNode) |