From e076f50a2fa1ed1fe05f065a01cb4011b493c9c1 Mon Sep 17 00:00:00 2001 From: Laise Date: Sat, 1 May 2010 20:53:16 +0300 Subject: [PATCH] [9818] Fix display bug when spell with more than 1 persistent area aura effect had several icons --- src/game/SpellAuras.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index e9aec38bf..19ce90a96 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -961,7 +961,7 @@ void Aura::_AddAura() // Try find slot for aura uint8 slot = NULL_AURA_SLOT; // Lookup for some spell auras (and get slot from it) - for(uint8 i = 0; i < m_effIndex; ++i) + for(uint8 i = 0; i < MAX_EFFECT_INDEX; ++i) { Unit::spellEffectPair spair = Unit::spellEffectPair(GetId(), SpellEffectIndex(i)); for(Unit::AuraMap::const_iterator itr = m_target->GetAuras().lower_bound(spair); itr != m_target->GetAuras().upper_bound(spair); ++itr) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 06b5c2fe3..27c34b2b9 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9817" + #define REVISION_NR "9818" #endif // __REVISION_NR_H__