diff options
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 ccb580f381e..0e72e541fe4 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6296,8 +6296,8 @@ void Spell::EffectKnockBack(uint32 i) float dy = unitTarget->GetPositionY() - y; float dist = sqrt((dx*dx) + (dy*dy)); - float vsin = dx / dist; - float vcos = dy / dist; + float vcos = dx / dist; + float vsin = dy / dist; float speedxy = float(m_spellInfo->EffectMiscValue[i])/10; float speedz = float(damage/-10); |