mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +08:00
Fix compile issues.
This commit is contained in:
parent
49470318f2
commit
a506e91b7c
@ -194,10 +194,10 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
if (split.Length > 2)
|
if (split.Length > 2)
|
||||||
{
|
{
|
||||||
int kiai_flags = split.Length > 7 ? Convert.ToInt32(split[7], NumberFormatInfo.InvariantInfo) : 0;
|
int kiai_flags = split.Length > 7 ? Convert.ToInt32(split[7], NumberFormatInfo.InvariantInfo) : 0;
|
||||||
double beatLength = Parse(split[1].Trim(), NumberFormatInfo.InvariantInfo);
|
double beatLength = double.Parse(split[1].Trim(), NumberFormatInfo.InvariantInfo);
|
||||||
cp = new ControlPoint
|
cp = new ControlPoint
|
||||||
{
|
{
|
||||||
Time = Parse(split[0].Trim(), NumberFormatInfo.InvariantInfo),
|
Time = double.Parse(split[0].Trim(), NumberFormatInfo.InvariantInfo),
|
||||||
BeatLength = beatLength > 0 ? beatLength : 0,
|
BeatLength = beatLength > 0 ? beatLength : 0,
|
||||||
VelocityAdjustment = beatLength < 0 ? -beatLength / 100.0 : 1,
|
VelocityAdjustment = beatLength < 0 ? -beatLength / 100.0 : 1,
|
||||||
TimingChange = split.Length <= 6 || split[6][0] == '1',
|
TimingChange = split.Length <= 6 || split[6][0] == '1',
|
||||||
|
Loading…
Reference in New Issue
Block a user