[c12545] Force SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS and SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_2 to use visible slots

This commit is contained in:
Dramacydal 2013-03-25 16:04:00 +03:00 committed by Antz
parent 41a410968c
commit 6b58a8674d
2 changed files with 5 additions and 1 deletions

View file

@ -9335,6 +9335,10 @@ bool SpellAuraHolder::IsNeedVisibleSlot(Unit const* caster) const
return true;
else if (IsSpellHaveAura(m_spellProto, SPELL_AURA_ALLOW_CAST_WHILE_MOVING))
return true;
else if (IsSpellHaveAura(SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS))
return true;
else if (IsSpellHaveAura(SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_2))
return true;
// passive auras (except totem auras) do not get placed in the slots
return !m_isPassive || totemAura || HasAreaAuraEffect(m_spellProto);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12544"
#define REVISION_NR "12545"
#endif // __REVISION_NR_H__