fix separate music rates for each player showing

This commit is contained in:
Chris Danford
2003-08-28 07:38:09 +00:00
parent b170ddaf5f
commit eab262e0bc
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -417,14 +417,16 @@ void ScreenOptions::TweenCursor( PlayerNumber player_no )
highlight.SetXY( (float)iX, (float)iY );
}
void ScreenOptions::UpdateText( PlayerNumber player_no, int row )
void ScreenOptions::UpdateText( PlayerNumber player_no, int iRow )
{
int iChoiceInRow = m_iSelectedOption[player_no][row];
int iChoiceInRow = m_iSelectedOption[player_no][iRow];
bool bLotsOfOptions = m_bRowIsLong[row];
bool bLotsOfOptions = m_bRowIsLong[iRow];
OptionRow &row = m_OptionRow[iRow];
if( bLotsOfOptions )
m_textItems[row][player_no].SetText( m_OptionRow[row].choices[iChoiceInRow] );
m_textItems[iRow][row.bOneChoiceForAllPlayers?0:player_no].SetText( m_OptionRow[iRow].choices[iChoiceInRow] );
}
void ScreenOptions::UpdateEnabledDisabled()