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()
+1 -1
View File
@@ -64,7 +64,7 @@ OptionRow g_PlayerOptionsLines[NUM_PLAYER_OPTIONS_LINES] = {
OptionRow( "Hide", false, "OFF","DARK","BLIND"),
OptionRow( "Perspec\n-tive", false, "" ),
OptionRow( "Step", false, "" ),
OptionRow( "Character", false, "" ),
OptionRow( "Charac\n-ter", false, "" ),
OptionRow( "Life\nType", true, "BAR","BATTERY" ),
OptionRow( "Bar\nDrain", true, "NORMAL","NO RECOVER","SUDDEN DEATH" ),
OptionRow( "Bat\nLives", true, "1","2","3","4","5","6","7","8","9","10" ),