Skip to content

Commit

Permalink
Revert "Merge pull request ppy#15758 from GoldenMine0502/speedbug"
Browse files Browse the repository at this point in the history
This reverts commit 74db8da, reversing
changes made to 86eacfd.
  • Loading branch information
smoogipoo committed Jan 17, 2022
1 parent 594ffd9 commit 7a0bfba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private double strainValueOf(DifficultyHitObject current)
if (strainTime < min_speed_bonus)
speedBonus = 1 + 0.75 * Math.Pow((min_speed_bonus - strainTime) / speed_balancing_factor, 2);

double distance = Math.Min(single_spacing_threshold, osuCurrObj.TravelDistance + osuCurrObj.MovementDistance);
double distance = Math.Min(single_spacing_threshold, osuCurrObj.TravelDistance + osuCurrObj.JumpDistance);

return (speedBonus + speedBonus * Math.Pow(distance / single_spacing_threshold, 3.5)) / strainTime;
}
Expand Down

0 comments on commit 7a0bfba

Please sign in to comment.