mirror of
https://github.com/ppy/osu
synced 2025-02-21 21:17:13 +00: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:
parent
2b09594823
commit
0a55830c16
@ -254,8 +254,10 @@ namespace osu.Game.Rulesets.Objects
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (i > 0)
|
if (i > 0)
|
||||||
|
{
|
||||||
// Remember the index of the segment end
|
// Remember the index of the segment end
|
||||||
segmentEnds.Add(calculatedPath.Count - 1);
|
segmentEnds.Add(calculatedPath.Count - 1);
|
||||||
|
}
|
||||||
|
|
||||||
// Start the new segment at the current vertex
|
// Start the new segment at the current vertex
|
||||||
start = i;
|
start = i;
|
||||||
|
Loading…
Reference in New Issue
Block a user