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
+4 -2
View File
@@ -79,7 +79,7 @@ void ScreenPlayerOptions::GoToPrevScreen()
{
if( GAMESTATE->m_bEditing )
{
SCREENMAN->PopTopScreen();
SCREENMAN->PopTopScreen( SM_BackFromPlayerOptions );
}
else
{
@@ -91,7 +91,9 @@ void ScreenPlayerOptions::GoToPrevScreen()
void ScreenPlayerOptions::GoToNextScreen()
{
if( GAMESTATE->m_bEditing )
SCREENMAN->PopTopScreen();
{
SCREENMAN->PopTopScreen( SM_BackFromPlayerOptions );
}
else
{
GAMESTATE->AdjustFailType();