Fix some death knight glyphs.

Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
hunuza 2009-09-26 13:24:50 +02:00
parent a092992030
commit 88040431b5
2 changed files with 26 additions and 4 deletions

View file

@ -2570,8 +2570,8 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
return;
// have a look if there is still some other Lifebloom dummy aura
Unit::AuraList auras = m_target->GetAurasByType(SPELL_AURA_DUMMY);
for(Unit::AuraList::iterator itr = auras.begin(); itr!=auras.end(); ++itr)
Unit::AuraList const& auras = m_target->GetAurasByType(SPELL_AURA_DUMMY);
for(Unit::AuraList::const_iterator itr = auras.begin(); itr!=auras.end(); ++itr)
if((*itr)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DRUID &&
((*itr)->GetSpellProto()->SpellFamilyFlags & UI64LIT(0x1000000000)))
return;