aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAstellar <none@none>2010-01-11 20:01:16 +0300
committerAstellar <none@none>2010-01-11 20:01:16 +0300
commit879948260fc5d701937183b48fec2bfd8a966ee3 (patch)
tree38dc93d0c8dfbc19dfe1f4809afb1bc7f31572ee /src
parent2564f5470afbe8e47bf8efdd0f41939d5ff6d3d8 (diff)
Fixed typo.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
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)