fix unresponsive START in ScreenGameOver and ScreenMusicScroll

This commit is contained in:
Chris Danford
2003-03-16 22:35:04 +00:00
parent 8771c3d6bf
commit 93483d0140
+5 -2
View File
@@ -218,8 +218,11 @@ bool GameState::IsPlayerEnabled( PlayerNumber pn )
if( GAMESTATE->m_bIsOnSystemMenu ) // if no style set (we're in TitleMenu, ConfigInstruments or something)
return true; // allow input from both sides
if( m_CurStyle == STYLE_INVALID )
return m_bSideIsJoined[pn];
if( m_CurStyle == STYLE_INVALID ) // no style chosen
if( this->m_bPlayersCanJoin )
return m_bSideIsJoined[pn]; // only allow input from sides that have already joined
else
return true; // if we can't join, then we're on a screen like MusicScroll or GameOver
switch( GetCurrentStyleDef()->m_StyleType )
{