This commit is contained in:
Glenn Maynard
2006-01-15 23:33:29 +00:00
parent f4f0d604b3
commit 2ac3a986a0
3 changed files with 4 additions and 7 deletions
+1 -3
View File
@@ -540,11 +540,9 @@ void ScreenOptions::UpdateEnabledDisabled( int r )
{
OptionRow &row = *m_pRows[r];
bool bRowHasFocus[NUM_PLAYERS];
FOREACH_PlayerNumber( pn )
bRowHasFocus[pn] = GAMESTATE->IsHumanPlayer(pn) && m_iCurrentRow[pn] == (int)r;
row.SetRowHasFocus( pn, GAMESTATE->IsHumanPlayer(pn) && m_iCurrentRow[pn] == (int)r );
row.SetRowFocus( bRowHasFocus );
row.UpdateEnabledDisabled();
}