Better var name, phrasing.
This commit is contained in:
@@ -531,16 +531,16 @@ void SMLoader::ProcessFakes( TimingData &out, const RString line, const int rows
|
|||||||
}
|
}
|
||||||
|
|
||||||
const float fBeat = RowToBeat( arrayFakeValues[0], rowsPerBeat );
|
const float fBeat = RowToBeat( arrayFakeValues[0], rowsPerBeat );
|
||||||
const float fNewBeat = StringToFloat( arrayFakeValues[1] );
|
const float fSkippedBeats = StringToFloat( arrayFakeValues[1] );
|
||||||
|
|
||||||
if(fNewBeat > 0)
|
if(fSkippedBeats > 0)
|
||||||
out.AddSegment( FakeSegment(BeatToNoteRow(fBeat), fNewBeat) );
|
out.AddSegment( FakeSegment(BeatToNoteRow(fBeat), fSkippedBeats) );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOG->UserLog("Song file",
|
LOG->UserLog("Song file",
|
||||||
this->GetSongTitle(),
|
this->GetSongTitle(),
|
||||||
"has an invalid Fake at beat %f, BPM %f.",
|
"has an invalid Fake at beat %f, beats to skip %f.",
|
||||||
fBeat, fNewBeat );
|
fBeat, fSkippedBeats );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user