From 879948260fc5d701937183b48fec2bfd8a966ee3 Mon Sep 17 00:00:00 2001 From: Astellar Date: Mon, 11 Jan 2010 20:01:16 +0300 Subject: Fixed typo. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3