fix cursor not moving if p2 is on beginner when p1 moves to page 2
This commit is contained in:
@@ -336,8 +336,11 @@ bool ScreenSelectDifficulty::ChangeWithinPage( PlayerNumber pn, int iNewChoice,
|
|||||||
{
|
{
|
||||||
if( p!=pn && m_CurrentPage==PAGE_1 )
|
if( p!=pn && m_CurrentPage==PAGE_1 )
|
||||||
continue; // skip
|
continue; // skip
|
||||||
if( m_iChoiceOnPage[p] == iNewChoice )
|
/* Don't do this. If we were on page one, with P1 on choice 0, and P2 moves
|
||||||
continue; // skip
|
* 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;
|
bAnyChanged = true;
|
||||||
m_iChoiceOnPage[p] = iNewChoice;
|
m_iChoiceOnPage[p] = iNewChoice;
|
||||||
|
|||||||
Reference in New Issue
Block a user