Simplify check in reagent cheking code. Small code cleanups after recent commit.

This commit is contained in:
VladimirMangos 2008-12-16 19:19:31 +03:00
parent f1cc9dc319
commit fc684dc737
5 changed files with 10 additions and 10 deletions

View file

@ -1171,7 +1171,8 @@ void Aura::UpdateSlotCounterAndDuration(bool add)
SetAuraCharges(count);
SendAuraUpdate(false);
}
bool Aura::isAffectedOnSpell(SpellEntry const *spell)
bool Aura::isAffectedOnSpell(SpellEntry const *spell) const
{
// Check family name
if (spell->SpellFamilyName != m_spellProto->SpellFamilyName)
@ -1184,6 +1185,7 @@ bool Aura::isAffectedOnSpell(SpellEntry const *spell)
return true;
return false;
}
/*********************************************************/
/*** BASIC AURA FUNCTION ***/
/*********************************************************/