aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 1e2ac245aeb..90dbfc0930c 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -5325,7 +5325,7 @@ void Spell::CalculateDamageDoneForAllTargets()
Unit* unit = m_caster->GetGUID()==target.targetGUID ? m_caster : ObjectAccessor::GetUnit(*m_caster, target.targetGUID);
if (!unit)
- return;
+ continue;
if (target.missCondition==SPELL_MISS_NONE) // In case spell hit target, do all effect on that target
target.damage += CalculateDamageDone(unit, mask, multiplier);