aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-21 14:01:26 -0600
committermegamage <none@none>2008-12-21 14:01:26 -0600
commit1759a7cf5cc7ca5bdcd6c28041ab46a2b143e5d3 (patch)
treecf2e4dcbfe631f8961a5299899b71c78f2e886d0 /src/game/Spell.cpp
parent77cd31a92bb01cbb264335428226b651ddf1aa06 (diff)
*Fix abolish poison. (Set caster be taget when range = 0 and target type = single target)
--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 b216bc10389..e05673ab63e 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -384,7 +384,7 @@ Spell::Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 origi
if(!IsPositiveTarget(m_spellInfo->EffectImplicitTargetA[j],m_spellInfo->EffectImplicitTargetB[j]))
m_canReflect = true;
else
- m_canReflect = (m_spellInfo->AttributesEx & (1<<7)) ? true : false;
+ m_canReflect = (m_spellInfo->AttributesEx & SPELL_ATTR_EX_NEGATIVE) ? true : false;
if(m_canReflect)
continue;