Better var name, phrasing.

This commit is contained in:
Jason Felds
2011-11-11 14:21:29 -05:00
parent 2f10209fcf
commit fdd3728ab6
+5 -5
View File
@@ -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 );
} }
} }
} }