[9818] Fix display bug when spell with more than 1 persistent area aura effect had several icons

This commit is contained in:
Laise 2010-05-01 20:53:16 +03:00
parent a0c32a101c
commit e076f50a2f
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9817"
#define REVISION_NR "9818"
#endif // __REVISION_NR_H__