From c2b217a1c1d4b3153fdf796141719415a39b9df6 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 9 Dec 2008 23:17:02 -0600 Subject: [PATCH] *Fix a typo in my previous commit. --HG-- branch : trunk --- src/game/SpellMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index b8cf06ea5e..3ebd9a4d1a 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -1834,9 +1834,9 @@ void SpellMgr::LoadSpellCustomAttr() if(!tempSpell) continue; - for(uint32 i = 0; i < 3; ++i) + for(uint32 j = 0; j < 3; ++j) { - switch(tempSpell->EffectApplyAuraName[i]) + switch(tempSpell->EffectApplyAuraName[j]) { case SPELL_AURA_PERIODIC_DAMAGE: case SPELL_AURA_PERIODIC_DAMAGE_PERCENT: