Fix crash. by Skystar.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-02-05 20:28:35 +01:00
parent 066b83b523
commit 4846745dc6
+2
View File
@@ -1078,6 +1078,8 @@ void Aura::RefreshAura()
bool Aura::isAffectedOnSpell(SpellEntry const *spell) const bool Aura::isAffectedOnSpell(SpellEntry const *spell) const
{ {
if (!spell)
return false;
// Check family name // Check family name
if (spell->SpellFamilyName != m_spellProto->SpellFamilyName) if (spell->SpellFamilyName != m_spellProto->SpellFamilyName)
return false; return false;