fix Pop message doesn't get sent if more than 1 prompt screen on the stack
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user