Fix problem when loading from cache

This commit is contained in:
Devin J. Pohly
2013-05-27 16:14:32 -04:00
parent 76cc364d43
commit 7c3a9eb427
+2
View File
@@ -566,6 +566,7 @@ bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCach
{
// Process timings and convert negative bpms/stops
SMLoader::ProcessBPMsAndStops(out.m_SongTiming, vBPMChanges, vStops);
vBPMChanges.clear();
state = GETTING_STEP_INFO;
pNewNotes = out.CreateSteps();
@@ -810,6 +811,7 @@ bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCach
{
bHasOwnTiming = true;
SMLoader::ProcessBPMsAndStops(stepsTiming, vBPMChanges, vStops);
vBPMChanges.clear();
}
state = GETTING_SONG_INFO;