aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-05 20:28:35 +0100
committerQAston <none@none>2009-02-05 20:28:35 +0100
commit4846745dc609e86457c7cb98b3dd12c7f99b42ae (patch)
tree018a3561318869d383651f5cdb14e6236156bb27 /src
parent066b83b52339f4b3fda585659b4feca4dd52b483 (diff)
Fix crash. by Skystar.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp2
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;