From f98a51d87e3683e65d41edae3ab98477cd6af7ed Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 10 Jan 2005 13:04:31 +0000 Subject: [PATCH] fix player 2 getting wrong player options applied --- stepmania/src/ScreenOptionsMaster.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenOptionsMaster.cpp b/stepmania/src/ScreenOptionsMaster.cpp index e0c4d1b1eb..bf1e312e3f 100644 --- a/stepmania/src/ScreenOptionsMaster.cpp +++ b/stepmania/src/ScreenOptionsMaster.cpp @@ -523,11 +523,13 @@ void ScreenOptionsMaster::ExportOptions() const OptionRowHandler &hand = OptionRowHandlers[row]; if( hand.type == ROW_LIST ) { - const int choice = m_Rows[row]->m_iChoiceInRowWithFocus[0]; + const int choice = m_Rows[row]->m_iChoiceInRowWithFocus[GAMESTATE->m_MasterPlayerNumber]; const GameCommand &mc = hand.ListEntries[choice]; if( mc.m_sScreen != "" ) m_sNextScreen = mc.m_sScreen; - mc.Apply( GAMESTATE->m_MasterPlayerNumber ); + // Why were we re-applying his here? ExportOption() is where options + // are applied. + // mc.Apply( GAMESTATE->m_MasterPlayerNumber ); } } CHECKPOINT;