From 4846745dc609e86457c7cb98b3dd12c7f99b42ae Mon Sep 17 00:00:00 2001 From: QAston Date: Thu, 5 Feb 2009 20:28:35 +0100 Subject: Fix crash. by Skystar. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index ef9b9847ba0..a2155e6df72 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1078,6 +1078,8 @@ void Aura::RefreshAura() bool Aura::isAffectedOnSpell(SpellEntry const *spell) const { + if (!spell) + return false; // Check family name if (spell->SpellFamilyName != m_spellProto->SpellFamilyName) return false; -- cgit v1.2.3