1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 08:52:58 +08:00

Fix slider velocity wrongly decoded as scrolling speed in osu!catch

This commit is contained in:
ekrctb 2022-05-08 21:49:42 +09:00
parent 3eeedd8024
commit dcf0d5a9d5

View File

@ -431,9 +431,10 @@ namespace osu.Game.Beatmaps.Formats
OmitFirstBarLine = omitFirstBarSignature, OmitFirstBarLine = omitFirstBarSignature,
}; };
bool isOsuRuleset = beatmap.BeatmapInfo.Ruleset.OnlineID == 0; int onlineRulesetID = beatmap.BeatmapInfo.Ruleset.OnlineID;
// scrolling rulesets use effect points rather than difficulty points for scroll speed adjustments.
if (!isOsuRuleset) // osu!taiko and osu!mania use effect points rather than difficulty points for scroll speed adjustments.
if (onlineRulesetID == 1 || onlineRulesetID == 3)
effectPoint.ScrollSpeed = speedMultiplier; effectPoint.ScrollSpeed = speedMultiplier;
addControlPoint(time, effectPoint, timingChange); addControlPoint(time, effectPoint, timingChange);