From 4727e5e923af3953ccd4aba237b4ef7067cbd925 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 14 Mar 2004 18:51:03 +0000 Subject: [PATCH] fix "together" row flag --- stepmania/src/ScreenOptions.cpp | 11 +++++++++-- stepmania/src/ScreenOptions.h | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenOptions.cpp b/stepmania/src/ScreenOptions.cpp index 61bf5eeffe..41608c997e 100644 --- a/stepmania/src/ScreenOptions.cpp +++ b/stepmania/src/ScreenOptions.cpp @@ -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 m_Rows;