diff options
author | megamage <none@none> | 2009-03-12 15:39:13 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-12 15:39:13 -0600 |
commit | a38531121d45c711c47a34efdf2febb74fc760e6 (patch) | |
tree | 57dd60c70a2a138621782a0fadfec271ed17a755 /src/game/SpellEffects.cpp | |
parent | 2ecad77a762b8dcad169bf35cf5e3cbb2220e758 (diff) |
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 433a5e096e9..7915e9491a6 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2173,7 +2173,7 @@ void Spell::EffectJump(uint32 i) // Init dest coordinates float x,y,z,o; - if(m_targets.m_targetMask & TARGET_FLAG_DEST_LOCATION) + if(m_targets.HasDest()) { x = m_targets.m_destX; y = m_targets.m_destY; @@ -2185,7 +2185,7 @@ void Spell::EffectJump(uint32 i) x = unitTarget->GetPositionX(); y = unitTarget->GetPositionY(); z = unitTarget->GetPositionZ(); - o = m_spellInfo->EffectImplicitTargetA[i] == TARGET_BEHIND_VICTIM + o = m_spellInfo->EffectImplicitTargetA[i] == TARGET_DEST_TARGET_BACK ? unitTarget->GetOrientation() : m_caster->GetOrientation(); } |