1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

removed residual code leftover

This commit is contained in:
Xexxar 2021-10-13 16:04:39 +00:00
parent 0f248d5510
commit 0292fe1c83

View File

@ -84,7 +84,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
TravelDistance = lastSlider.LazyTravelDistance * scalingFactor;
TravelTime = Math.Max(lastSlider.LazyTravelTime / clockRate, 0);
MovementTime = Math.Max(StrainTime - TravelTime, 0);
MovementDistance = Math.Max(0, Vector2.Subtract(lastSlider.TailCircle.StackedPosition, BaseObject.StackedPosition).Length - 0) * scalingFactor;
MovementDistance = Vector2.Subtract(lastSlider.TailCircle.StackedPosition, BaseObject.StackedPosition).Length * scalingFactor;
}
Vector2 lastCursorPosition = getEndCursorPosition(lastObject);