From 4a6c246e3b2e789f0eb3038a41a5b32027f23f91 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 25 Dec 2008 23:04:20 -0600 Subject: *Fix a typo. --HG-- branch : trunk --- src/game/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3