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:
parent
883d5bc11d
commit
bfbb9aa18e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user