Revert making ComboOffsets legacy and define BeatmapSkinComboIndex instead

This commit is contained in:
Salman Ahmed
2021-07-20 14:15:43 +03:00
parent 3a974d5027
commit 9d92b795fa
22 changed files with 102 additions and 78 deletions

View File

@ -63,12 +63,7 @@ namespace osu.Game.Skinning
}
protected override IBindable<Color4> GetComboColour(IHasComboColours source, int comboIndex, IHasComboInformation combo)
{
if (combo is IHasLegacyBeatmapComboOffset legacyBeatmapCombo)
return base.GetComboColour(source, legacyBeatmapCombo.LegacyBeatmapComboIndex, combo);
return base.GetComboColour(source, comboIndex, combo);
}
=> base.GetComboColour(source, combo.BeatmapSkinComboIndex, combo);
public override ISample GetSample(ISampleInfo sampleInfo)
{