1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 01:19:52 +08:00

Add braces for clarification

I like no-braces for single-line ifs as much as anyone, but with inline
comments involved it gets rather dicey.
This commit is contained in:
Bartłomiej Dach
2023-08-19 14:34:20 +02:00
Unverified
parent 2b09594823
commit 0a55830c16
+2
View File
@@ -254,8 +254,10 @@ namespace osu.Game.Rulesets.Objects
}
if (i > 0)
{
// Remember the index of the segment end
segmentEnds.Add(calculatedPath.Count - 1);
}
// Start the new segment at the current vertex
start = i;