git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@335 83fadc84-e282...
authorPatrick McIlroy <itgpmc@gmail.com>
Mon, 19 May 2008 19:33:05 +0000 (19:33 +0000)
committerPatrick McIlroy <itgpmc@gmail.com>
Mon, 19 May 2008 19:33:05 +0000 (19:33 +0000)
src/ScreenEdit.cpp

index 8f8d442..c2a59d2 100755 (executable)
@@ -2046,6 +2046,12 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
                                                pSteps->SetSavedToDisk( true );
                                                CopyToLastSave();
 
+                                               const vector<Steps*> vpSteps = GAMESTATE->m_pCurSong->GetAllSteps();
+                                               FOREACH_CONST(Steps*, vpSteps, s)
+                                               {
+                                                       (*s)->Decompress();
+                                               }
+
                                                GAMESTATE->m_pCurSong->Save();
                                                SCREENMAN->ZeroNextUpdate();