clamp msPerBeat in timingpoints between 10 and 1000 like upstream game does (thanks to @McKay42 for the suggestion)

This commit is contained in:
yugecin 2016-12-09 22:14:13 +01:00
parent 38daee002f
commit fd8474365d

View File

@ -98,7 +98,7 @@ public class TimingPoint {
/**
* Returns the slider multiplier. [INHERITED]
*/
public float getSliderMultiplier() { return velocity / -100f; }
public float getSliderMultiplier() { return Utils.clamp(-velocity, 10, 1000) / 100f; }
/**
* Returns the meter.