aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-01 16:20:26 -0600
committermegamage <none@none>2009-02-01 16:20:26 -0600
commitdda3ce292284f8f427a59ac5d086d253a49d7ed7 (patch)
tree16020c85d7b79e186e82a5132027925705d2e085 /src
parent6d6cddbee0801c68ee760dcb1ad0c962d7d5d05e (diff)
Fix some targeting data get from client
Signed-off-by: DiSlord <dislord@nomail.com> --HG-- branch : trunk
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 80760abcd0c..a3e424344d8 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3619,7 +3619,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);