[warps] Add more flexible constructors.

This commit is contained in:
Jason Felds
2011-03-26 14:27:06 -04:00
parent 8b7435a50c
commit 64619f9819
3 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -507,7 +507,7 @@ bool SSCLoader::LoadFromSSCFile( const RString &sPath, Song &out, bool bFromCach
const float fNewBeat = StringToFloat( arrayWarpValues[1] );
if(fNewBeat > fBeat)
out.m_Timing.AddWarpSegment( WarpSegment(BeatToNoteRow(fBeat), fNewBeat) );
out.m_Timing.AddWarpSegment( WarpSegment(fBeat, fNewBeat) );
else
{
LOG->UserLog( "Song file", "(UNKNOWN)", "has an invalid Warp at beat %f, BPM %f.", fBeat, fNewBeat );