mirror of https://github.com/ppy/osu
fix constant algorithm scroll speed
This commit is contained in:
parent
85d292ae57
commit
2cbb09573d
|
@ -84,8 +84,11 @@ protected override void Update()
|
||||||
|
|
||||||
protected virtual double ComputeTimeRange()
|
protected virtual double ComputeTimeRange()
|
||||||
{
|
{
|
||||||
// Adjust when we're using constant algorithm to not be sluggish.
|
// Using the constant algorithm results in a sluggish scroll speed that's equal to 60 BPM.
|
||||||
double multiplier = VisualisationMethod == ScrollVisualisationMethod.Constant ? 4 * Beatmap.Difficulty.SliderMultiplier : 1;
|
// We need to adjust it to the expected default scroll speed (BPM * base SV multiplier).
|
||||||
|
double multiplier = VisualisationMethod == ScrollVisualisationMethod.Constant
|
||||||
|
? (Beatmap.BeatmapInfo.BPM * Beatmap.Difficulty.SliderMultiplier) / 60
|
||||||
|
: 1;
|
||||||
return PlayfieldAdjustmentContainer.ComputeTimeRange() / multiplier;
|
return PlayfieldAdjustmentContainer.ComputeTimeRange() / multiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue