From f19f5618fbc060ad23a553c5bc09f4f08aa797d5 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Sat, 31 Jan 2009 22:02:23 +0300 Subject: [PATCH] Fix some targeting data get from client Signed-off-by: DiSlord --- src/game/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 54825b266..ca361ceba 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3723,7 +3723,7 @@ uint8 Spell::CanCast(bool strict) // If 0 spell effect empty - client not send target data (need use selection) // TODO: check it on next client version if (m_targets.m_targetMask == TARGET_FLAG_SELF && - m_spellInfo->Effect[0] == 0 && m_spellInfo->EffectImplicitTargetA[1] != TARGET_SELF) + m_spellInfo->EffectImplicitTargetA[1] == TARGET_CHAIN_DAMAGE) { if (target = m_caster->GetUnit(*m_caster, ((Player *)m_caster)->GetSelection())) m_targets.setUnitTarget(target);