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>
/// Legacy osu!mania Hit-type, used for parsing Beatmaps.
/// </summary>
internal sealed class ConvertHit : HitObject, IHasXPosition, IHasCombo
internal sealed class ConvertHit : HitObject, IHasXPosition
{
public float X { get; set; }
public bool NewCombo { get; set; }
protected override HitWindows CreateHitWindows() => null;
}
}

View File

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

View File

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