diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |