Core/Movement: Corrected all speed checks

Port From (https://github.com/TrinityCore/TrinityCore/commit/396457e36a78ebd6f2b1c801121880168908134b)
This commit is contained in:
hondacrx
2019-08-31 11:54:00 -04:00
parent 929a5f1f4e
commit 8ee11c7c65
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -4179,7 +4179,7 @@ namespace Game.Spells
float ratio = 0.1f;
float speedxy = effectInfo.MiscValue * ratio;
float speedz = damage * ratio;
if (speedxy < 0.1f && speedz < 0.1f)
if (speedxy < 0.01f && speedz < 0.01f)
return;
float x, y;