Song::RevertFromDisk: flush first, don't fast load

This commit is contained in:
Glenn Maynard
2004-01-24 20:18:06 +00:00
parent 07f99b102a
commit a4825393d8
+6
View File
@@ -301,8 +301,14 @@ void Song::RevertFromDisk()
/* Erase all existing data. */
Reset();
FILEMAN->FlushDirCache( dir );
const bool OldVal = PREFSMAN->m_bFastLoad;
PREFSMAN->m_bFastLoad = false;
LoadFromSongDir( dir );
PREFSMAN->m_bFastLoad = OldVal;
if( GAMESTATE->m_pCurSong == this )
{