have OptionRow save focus state for easier reloading

This commit is contained in:
Chris Danford
2005-02-26 09:42:36 +00:00
parent a16004a303
commit 32fc206f48
3 changed files with 42 additions and 33 deletions
+2 -3
View File
@@ -462,9 +462,8 @@ void ScreenOptions::UpdateEnabledDisabled( int r )
FOREACH_PlayerNumber( pn )
bRowHasFocus[pn] = GAMESTATE->IsHumanPlayer(pn) && m_iCurrentRow[pn] == (int)r;
row.UpdateEnabledDisabled(
bRowHasFocus,
TWEEN_SECONDS );
row.SetRowFocus( bRowHasFocus );
row.UpdateEnabledDisabled();
}
void ScreenOptions::UpdateEnabledDisabled()