mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 04:05:35 +08:00
simplify algebra down
This commit is contained in:
parent
3a16ec277a
commit
4017598af0
@ -61,7 +61,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
||||
|
||||
// Cap deltatime to the OD 300 hitwindow.
|
||||
// 0.93 is derived from making sure 260bpm OD8 streams aren't nerfed harshly,
|
||||
deltaTime /= Math.Clamp(speedWindowRatio * (1/0.93), 0.92, 1);
|
||||
deltaTime /= Math.Clamp(speedWindowRatio / 0.93, 0.92, 1);
|
||||
|
||||
double speedBonus = 1.0;
|
||||
if (deltaTime < min_speed_bonus)
|
||||
|
Loading…
Reference in New Issue
Block a user