Add comment + test for slider multiplier

This commit is contained in:
smoogipoo
2019-09-25 20:12:01 +09:00
parent ccb5623487
commit 244627ff10
2 changed files with 15 additions and 0 deletions

View File

@ -131,6 +131,8 @@ namespace osu.Game.Rulesets.UI.Scrolling
if (duration > maxDuration)
{
maxDuration = duration;
// The slider multiplier is post-multiplied to determine the final velocity, but for relative scale beat lengths
// the multiplier should not affect the effective timing point (the longest in the beatmap), so it is factored out here
baseBeatLength = timingPoints[i].BeatLength / Beatmap.BeatmapInfo.BaseDifficulty.SliderMultiplier;
}
}