Created
February 15, 2015 14:59
-
-
Save DDuarte/68479fb3970511b9cef1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp | |
index 0dcb5e6..73217e6 100644 | |
--- a/src/server/game/Spells/SpellEffects.cpp | |
+++ b/src/server/game/Spells/SpellEffects.cpp | |
@@ -4553,8 +4553,8 @@ void Spell::EffectLeapBack(SpellEffIndex /*effIndex*/) | |
if (!unitTarget) | |
return; | |
- float speedxy = float(effectInfo->MiscValue) / 10; | |
- float speedz = float(damage / 10); | |
+ float speedxy = effectInfo->MiscValue / 10.f; | |
+ float speedz = damage / 10.f; | |
//1891: Disengage | |
m_caster->JumpTo(speedxy, speedz, m_spellInfo->SpellIconID != 1891); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment