don't jump to first difficulty while in sorts
This commit is contained in:
@@ -98,8 +98,13 @@ void DifficultyList::GetCurrentRows( int iCurrentRow[NUM_PLAYERS] )
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
for( iCurrentRow[pn] = 0; iCurrentRow[pn] < (int) m_Rows.size(); ++iCurrentRow[pn] )
|
for( iCurrentRow[pn] = 0; iCurrentRow[pn] < (int) m_Rows.size(); ++iCurrentRow[pn] )
|
||||||
|
{
|
||||||
if( GAMESTATE->m_pCurNotes[pn] == m_Rows[iCurrentRow[pn]]->m_Steps )
|
if( GAMESTATE->m_pCurNotes[pn] == m_Rows[iCurrentRow[pn]]->m_Steps )
|
||||||
break;
|
break;
|
||||||
|
if( GAMESTATE->m_pCurNotes[pn] == NULL &&
|
||||||
|
m_Rows[iCurrentRow[pn]]->m_Steps->GetDifficulty() == GAMESTATE->m_PreferredDifficulty[pn] )
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user