fix cursor not moving if p2 is on beginner when p1 moves to page 2

This commit is contained in:
Glenn Maynard
2004-05-25 06:29:42 +00:00
parent 0151baf6dc
commit b7850ef9c2
+5 -2
View File
@@ -336,8 +336,11 @@ bool ScreenSelectDifficulty::ChangeWithinPage( PlayerNumber pn, int iNewChoice,
{
if( p!=pn && m_CurrentPage==PAGE_1 )
continue; // skip
if( m_iChoiceOnPage[p] == iNewChoice )
continue; // skip
/* Don't do this. If we were on page one, with P1 on choice 0, and P2 moves
* to the second page, then we're setting choice 0 on the second page;
* m_iChoiceOnPage[p] is going from 0 to 0 (all that's changing is the page). */
// if( m_iChoiceOnPage[p] == iNewChoice )
// continue; // skip
bAnyChanged = true;
m_iChoiceOnPage[p] = iNewChoice;