aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 217074b743f..da2f2b8d7d8 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -695,7 +695,10 @@ void AreaAuraEffect::Update(uint32 diff)
Unit *source = m_target;
Unit *caster = GetCaster();
if (!caster)
+ {
m_target->RemoveAura(GetParentAura());
+ return;
+ }
if( !source->hasUnitState(UNIT_STAT_ISOLATED) )
{