1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 04:03:22 +08:00

swap speedwindowratio in cap so values are correct

This commit is contained in:
apollo-dw 2021-09-15 12:36:15 +01:00
parent 2fe0681310
commit cf63a45f32

View File

@ -60,7 +60,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, whilst 0.92 limits the effect of the cap.
strainTime /= Math.Clamp(speedWindowRatio / 0.93, 0.92, 1);
strainTime /= Math.Clamp((strainTime / greatWindowFull) / 0.93, 0.92, 1);
double speedBonus = 1.0;
if (strainTime < min_speed_bonus)