mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9818] Fix display bug when spell with more than 1 persistent area aura effect had several icons
This commit is contained in:
parent
a0c32a101c
commit
e076f50a2f
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9817"
|
||||
#define REVISION_NR "9818"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue