aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-25 23:04:20 -0600
committermegamage <none@none>2008-12-25 23:04:20 -0600
commit4a6c246e3b2e789f0eb3038a41a5b32027f23f91 (patch)
treec942f980d4478844998bc710933aea4c8ffa4fa3 /src/game/Spell.cpp
parent682184c668942c9a65beef92d9adf74cfb763e5a (diff)
*Fix a typo.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-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);