fix INPUTMODE_BOTH on 2p side

This commit is contained in:
Glenn Maynard
2003-07-07 20:54:59 +00:00
parent 6c99547b6a
commit 27d47bb813
+11 -2
View File
@@ -471,11 +471,20 @@ void ScreenOptions::UpdateEnabledDisabled()
}
}
/* Hide the text of all but the first player, so we don't overdraw. */
/* Hide the text of all but the first active player, so we don't overdraw. */
if( m_InputMode == INPUTMODE_BOTH && m_bRowIsLong[i] )
{
for( unsigned j=1; j<NUM_PLAYERS; j++ )
bool one = false;
for( unsigned j=0; j<NUM_PLAYERS; j++ )
{
if( GAMESTATE->IsHumanPlayer(j) )
{
if(!one)
{
one=true;
continue;
}
}
m_textItems[i][j].StopTweening();
m_textItems[i][j].SetDiffuse( RageColor(1,1,1,0) );
}