fix reloading: simply calling LoadFromSMFile won't reset everything,

leading to duplicate notes and some other stuff not always being reverted
This commit is contained in:
Glenn Maynard
2003-06-24 20:06:16 +00:00
parent 9c2c8873c5
commit 9342550563
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -1110,7 +1110,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
{
case SM_GoToNextScreen:
// Reload song from disk to discard changes.
GAMESTATE->m_pCurSong->LoadFromSongDir( GAMESTATE->m_pCurSong->GetSongDir() );
GAMESTATE->m_pCurSong->RevertFromDisk();
SCREENMAN->SetNewScreen( "ScreenEditMenu" );
break;
case SM_BackFromMainMenu: