simplify
This commit is contained in:
@@ -273,11 +273,8 @@ void ScreenOptions::RestartOptions( bool bTweenIn )
|
|||||||
m_iCurrentRow[p] = -1;
|
m_iCurrentRow[p] = -1;
|
||||||
m_iFocusX[p] = -1;
|
m_iFocusX[p] = -1;
|
||||||
m_bWasOnExit[p] = false;
|
m_bWasOnExit[p] = false;
|
||||||
}
|
|
||||||
|
|
||||||
// put focus on the first enabled row
|
// put focus on the first enabled row
|
||||||
FOREACH_PlayerNumber( p )
|
|
||||||
{
|
|
||||||
for( unsigned r=0; r<m_pRows.size(); r++ )
|
for( unsigned r=0; r<m_pRows.size(); r++ )
|
||||||
{
|
{
|
||||||
const OptionRow &row = *m_pRows[r];
|
const OptionRow &row = *m_pRows[r];
|
||||||
|
|||||||
Reference in New Issue
Block a user