aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2012-09-19 11:34:49 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2012-09-19 11:34:49 +0200
commit54bd7d9773c4c35de3a518712a3057fd41a67f71 (patch)
treea21cbab652e944d8c880a22c018b16ea44e1e6b3 /src
parent09b47ecad182662029f107e9d1d5741fbbbd4407 (diff)
Core/Spells: Fix Crash
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/Auras/SpellAuras.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
index 3de11b98e30..1c129c4d57c 100755
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -1637,6 +1637,9 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
}
if (GetSpellInfo()->GetSpellSpecific() == SPELL_SPECIFIC_AURA)
{
+ if (!caster)
+ break;
+
// Improved devotion aura
if (caster->HasAura(20140) || caster->HasAura(20138) || caster->HasAura(20139))
{