Mania convert hitobjects should not have combo

This commit is contained in:
smoogipoo
2018-08-15 10:57:11 +09:00
parent 8faf12579a
commit 83f75ac896
3 changed files with 3 additions and 9 deletions

View File

@ -8,12 +8,10 @@ namespace osu.Game.Rulesets.Objects.Legacy.Mania
/// <summary> /// <summary>
/// Legacy osu!mania Hit-type, used for parsing Beatmaps. /// Legacy osu!mania Hit-type, used for parsing Beatmaps.
/// </summary> /// </summary>
internal sealed class ConvertHit : HitObject, IHasXPosition, IHasCombo internal sealed class ConvertHit : HitObject, IHasXPosition
{ {
public float X { get; set; } public float X { get; set; }
public bool NewCombo { get; set; }
protected override HitWindows CreateHitWindows() => null; protected override HitWindows CreateHitWindows() => null;
} }
} }

View File

@ -22,8 +22,7 @@ namespace osu.Game.Rulesets.Objects.Legacy.Mania
{ {
return new ConvertHit return new ConvertHit
{ {
X = position.X, X = position.X
NewCombo = newCombo,
}; };
} }
@ -32,7 +31,6 @@ namespace osu.Game.Rulesets.Objects.Legacy.Mania
return new ConvertSlider return new ConvertSlider
{ {
X = position.X, X = position.X,
NewCombo = newCombo,
ControlPoints = controlPoints, ControlPoints = controlPoints,
Distance = length, Distance = length,
CurveType = curveType, CurveType = curveType,

View File

@ -8,12 +8,10 @@ namespace osu.Game.Rulesets.Objects.Legacy.Mania
/// <summary> /// <summary>
/// Legacy osu!mania Slider-type, used for parsing Beatmaps. /// Legacy osu!mania Slider-type, used for parsing Beatmaps.
/// </summary> /// </summary>
internal sealed class ConvertSlider : Legacy.ConvertSlider, IHasXPosition, IHasCombo internal sealed class ConvertSlider : Legacy.ConvertSlider, IHasXPosition
{ {
public float X { get; set; } public float X { get; set; }
public bool NewCombo { get; set; }
protected override HitWindows CreateHitWindows() => null; protected override HitWindows CreateHitWindows() => null;
} }
} }