fix Pop message doesn't get sent if more than 1 prompt screen on the stack

This commit is contained in:
Chris Danford
2005-03-23 06:46:24 +00:00
parent 7c6ed89975
commit 659def4479
17 changed files with 53 additions and 50 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ void ScreenSongOptions::GoToPrevScreen()
{
if( GAMESTATE->m_bEditing )
{
SCREENMAN->PopTopScreen( SM_None );
SCREENMAN->PopTopScreen( SM_BackFromSongOptions );
}
else
{
@@ -52,7 +52,7 @@ void ScreenSongOptions::GoToPrevScreen()
void ScreenSongOptions::GoToNextScreen()
{
if( GAMESTATE->m_bEditing )
SCREENMAN->PopTopScreen();
SCREENMAN->PopTopScreen( SM_BackFromSongOptions );
else
SCREENMAN->SetNewScreen( NEXT_SCREEN );
}