This may not be the best solution, but it fixes bug 222

This commit is contained in:
AJ Kelly
2011-03-16 21:06:14 -05:00
parent c090b6fedd
commit c18c2de206
+2
View File
@@ -2850,6 +2850,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
/* The user has been given a choice to save. Delete all unsaved /* The user has been given a choice to save. Delete all unsaved
* steps before exiting the editor. */ * steps before exiting the editor. */
/*
Song *pSong = GAMESTATE->m_pCurSong; Song *pSong = GAMESTATE->m_pCurSong;
const vector<Steps*> &apSteps = pSong->GetAllSteps(); const vector<Steps*> &apSteps = pSong->GetAllSteps();
vector<Steps*> apToDelete; vector<Steps*> apToDelete;
@@ -2868,6 +2869,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
if( GAMESTATE->m_pCurSteps[PLAYER_1].Get() == pSteps ) if( GAMESTATE->m_pCurSteps[PLAYER_1].Get() == pSteps )
GAMESTATE->m_pCurSteps[PLAYER_1].Set( NULL ); GAMESTATE->m_pCurSteps[PLAYER_1].Set( NULL );
} }
*/
m_Out.StartTransitioning( SM_GoToNextScreen ); m_Out.StartTransitioning( SM_GoToNextScreen );
} }