fix "together" row flag

This commit is contained in:
Chris Danford
2004-03-14 18:51:03 +00:00
parent 063c2cf3a4
commit 4727e5e923
2 changed files with 11 additions and 3 deletions
+9 -2
View File
@@ -1310,10 +1310,17 @@ void ScreenOptions::ChangeValueInRow( PlayerNumber pn, int iDelta, bool Repeat )
if( optrow.bOneChoiceForAllPlayers )
{
row.m_iChoiceWithFocus[pn] = iNewChoiceWithFocus;
if( m_InputMode == INPUTMODE_TOGETHER )
{
// lock focus together
FOREACH_HumanPlayer( pn )
row.m_iChoiceWithFocus[pn] = iNewChoiceWithFocus;
}
for( int p=0; p<NUM_PLAYERS; p++ )
{
row.m_iChoiceWithFocus[p] = iNewChoiceWithFocus;
if( m_OptionsNavigation==NAV_FIRST_CHOICE_GOES_DOWN )
{
; // do nothing