aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-09-01 19:41:54 -0500
committermegamage <none@none>2009-09-01 19:41:54 -0500
commita34ee29e9ac605df799eec40617964719869afdd (patch)
treeea2b1256021e292ac95a3755168ccf305d3bc926
parentf808a461cc62c8bab6f2ff3d5d93867334dc64ed (diff)
*Fix the knockback direction of Typhoon
--HG-- branch : trunk
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 4adb4426480..ff810a3efb7 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -6416,7 +6416,7 @@ void Spell::EffectKnockBack(uint32 i)
return;
float x, y;
- if(m_targets.HasDst())
+ if(m_targets.HasDst() && !m_targets.HasTraj())
m_targets.m_dstPos.GetPosition(x, y);
else
m_caster->GetPosition(x, y);