implemented object count limitation for rhythm build up

This commit is contained in:
Xexxar 2021-08-20 15:40:34 +00:00
parent d36eb269b4
commit a46ae855aa

View File

@ -69,8 +69,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
if (currHistoricalDecay != 0)
{
// below was bugged in initial version. fixed now, but will change values, will do more testing
// currHistoricalDecay = Math.Min(currHistoricalDecay, (double)(Previous.Count - i) / Previous.Count); // either we're limited by time or limited by object count.
currHistoricalDecay = Math.Min(currHistoricalDecay, (double)(Previous.Count - i) / Previous.Count); // either we're limited by time or limited by object count.
double currDelta = ((OsuDifficultyHitObject)Previous[i - 1]).StrainTime;
double prevDelta = ((OsuDifficultyHitObject)Previous[i]).StrainTime;