From ea21b98826dd62c4adf0be0356e837282803be83 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Mon, 16 May 2011 10:45:03 -0400 Subject: [PATCH] [splittiming] Version fix. --- src/NotesLoaderSSC.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/NotesLoaderSSC.cpp b/src/NotesLoaderSSC.cpp index 5019bf9ec0..5e7a9bcc68 100644 --- a/src/NotesLoaderSSC.cpp +++ b/src/NotesLoaderSSC.cpp @@ -66,7 +66,11 @@ void SSCLoader::ProcessWarps( TimingData &out, const RString sParam, const float const float fBeat = StringToFloat( arrayWarpValues[0] ); const float fNewBeat = StringToFloat( arrayWarpValues[1] ); // Early versions were absolute in beats. They should be relative. - if( ( fVersion < VERSION_SPLIT_TIMING && fNewBeat > fBeat ) || fNewBeat > 0 ) + if( ( fVersion < VERSION_SPLIT_TIMING && fNewBeat > fBeat ) ) + { + out.AddWarpSegment( WarpSegment(fBeat, fNewBeat - fBeat) ); + } + else if( fNewBeat > 0 ) out.AddWarpSegment( WarpSegment(fBeat, fNewBeat) ); else {