fix glitch when in "ASK" song options mode and start is pressed before
m_In finishes
This commit is contained in:
@@ -1173,7 +1173,8 @@ void ScreenOptions::MenuStart( PlayerNumber pn, const InputEventType type )
|
|||||||
if( GAMESTATE->IsHumanPlayer(p) && m_Rows[m_iCurrentRow[p]]->Type != Row::ROW_EXIT )
|
if( GAMESTATE->IsHumanPlayer(p) && m_Rows[m_iCurrentRow[p]]->Type != Row::ROW_EXIT )
|
||||||
bAllOnExit = false;
|
bAllOnExit = false;
|
||||||
|
|
||||||
if( bAllOnExit && type == IET_FIRST_PRESS )
|
/* Don't accept START to go to the next screen if we're still transitioning in. */
|
||||||
|
if( bAllOnExit && type == IET_FIRST_PRESS && !IsTransitioning() )
|
||||||
StartGoToNextState();
|
StartGoToNextState();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -1232,7 +1233,8 @@ void ScreenOptions::MenuStart( PlayerNumber pn, const InputEventType type )
|
|||||||
break;
|
break;
|
||||||
case NAV_THREE_KEY_MENU:
|
case NAV_THREE_KEY_MENU:
|
||||||
case NAV_FIVE_KEY:
|
case NAV_FIVE_KEY:
|
||||||
if( type == IET_FIRST_PRESS ) // m_SMOptionsNavigation
|
/* Don't accept START to go to the next screen if we're still transitioning in. */
|
||||||
|
if( type == IET_FIRST_PRESS && !IsTransitioning() ) // m_SMOptionsNavigation
|
||||||
StartGoToNextState();
|
StartGoToNextState();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user