Let CodeDetector detect Left+Right and Left-Right-Start codes on ScreenSelectMusic

This commit is contained in:
Chris Danford
2003-12-02 09:04:00 +00:00
parent 618cb4d08a
commit 2dc6cb9099
7 changed files with 159 additions and 49 deletions
+3 -2
View File
@@ -383,13 +383,14 @@ bool ScreenSelectMaster::ChangeSelection( PlayerNumber pn, int iNewChoice )
if( GetPage(m_iChoice[pn]) != GetPage(iNewChoice) )
return ChangePage( iNewChoice );
bool bMoveAll = SHARED_PREVIEW_AND_CURSOR || GetCurrentPage()!=PAGE_1;
for( int p=0; p<NUM_PLAYERS; p++ )
{
if( !GAMESTATE->IsHumanPlayer(p) )
continue; // skip
if( !SHARED_PREVIEW_AND_CURSOR &&
(p!=pn && GetCurrentPage()==PAGE_1) )
if( !bMoveAll && p!=pn )
continue; // skip
const int iOldChoice = m_iChoice[p];