[splittiming] Force tidying up of the song.

This will force tidying up of the timing,
thus stopping the SpeedSegment crashes.
This commit is contained in:
Jason Felds
2011-05-16 23:44:06 -04:00
parent 2526413d45
commit 9701b60910
7 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -753,7 +753,7 @@ bool SMLoader::LoadFromSMFile( const RString &sPath, Song &out, bool bFromCache
else
LOG->UserLog( "Song file", sPath, "has an unexpected value named \"%s\".", sValueName.c_str() );
}
TidyUpData( out, bFromCache );
return true;
}
@@ -946,6 +946,7 @@ void SMLoader::TidyUpData( Song &song, bool bFromCache )
bg.push_back( BackgroundChange(song.m_fLastBeat,song.m_sBackgroundFile) );
} while(0);
}
song.TidyUpData();
}
/*