aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-05 15:09:54 -0600
committermegamage <none@none>2009-02-05 15:09:54 -0600
commitcb2da9515fb61f9a09d2dc31dc56f79845b7be1e (patch)
tree473eaa36b824c45c74e1724499e9329ae5d958f4 /src
parentc1c210f6d91fd4214bb26362fd14135312a7ffad (diff)
parent4846745dc609e86457c7cb98b3dd12c7f99b42ae (diff)
*Merge.
--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;