mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Add comment describing the speed multiplier
This commit is contained in:
parent
cd718812b2
commit
d284f29637
@ -44,6 +44,7 @@ namespace osu.Game.Rulesets.Osu.Beatmaps
|
|||||||
NewCombo = comboData?.NewCombo ?? false,
|
NewCombo = comboData?.NewCombo ?? false,
|
||||||
ComboOffset = comboData?.ComboOffset ?? 0,
|
ComboOffset = comboData?.ComboOffset ?? 0,
|
||||||
LegacyLastTickOffset = legacyOffset?.LegacyLastTickOffset,
|
LegacyLastTickOffset = legacyOffset?.LegacyLastTickOffset,
|
||||||
|
// prior to v8, speed multipliers don't affect how many ticks are generated.
|
||||||
TickDistanceMultiplier = beatmap.BeatmapInfo.BeatmapVersion < 8 ? 1f / beatmap.ControlPointInfo.DifficultyPointAt(original.StartTime).SpeedMultiplier : 1
|
TickDistanceMultiplier = beatmap.BeatmapInfo.BeatmapVersion < 8 ? 1f / beatmap.ControlPointInfo.DifficultyPointAt(original.StartTime).SpeedMultiplier : 1
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user