mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 19:27:31 +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:
parent
2b09594823
commit
0a55830c16
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user