1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 13:13:22 +08:00

Remove outdated assert

This commit is contained in:
smoogipoo 2019-12-09 18:01:02 +09:00
parent 883d5bc11d
commit bfbb9aa18e

View File

@ -187,8 +187,6 @@ namespace osu.Game.Rulesets.Objects
if (ControlPoints[i].Type.Value == null && i < ControlPoints.Count - 1)
continue;
Debug.Assert(ControlPoints[start].Type.Value.HasValue);
// The current vertex ends the segment
var segmentVertices = vertices.AsSpan().Slice(start, i - start + 1);
var segmentType = ControlPoints[start].Type.Value ?? PathType.Linear;