diff options
author | QAston <none@none> | 2009-02-05 20:28:35 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-02-05 20:28:35 +0100 |
commit | 4846745dc609e86457c7cb98b3dd12c7f99b42ae (patch) | |
tree | 018a3561318869d383651f5cdb14e6236156bb27 /src | |
parent | 066b83b52339f4b3fda585659b4feca4dd52b483 (diff) |
Fix crash. by Skystar.
--HG--
branch : trunk
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; |