simplify
This commit is contained in:
@@ -104,7 +104,7 @@ void ScreenOptionsEditCourse::BeginScreen()
|
||||
ScreenOptions::BeginScreen();
|
||||
|
||||
if( GAMESTATE->m_iEditCourseEntryIndex > -1 )
|
||||
this->MoveRowAbsolute( PLAYER_1, NUM_EditCourseRow + GAMESTATE->m_iEditCourseEntryIndex, false );
|
||||
this->MoveRowAbsolute( PLAYER_1, NUM_EditCourseRow + GAMESTATE->m_iEditCourseEntryIndex );
|
||||
AfterChangeRow( GAMESTATE->m_MasterPlayerNumber );
|
||||
}
|
||||
|
||||
|
||||
@@ -218,7 +218,7 @@ void ScreenOptionsManageCourses::BeginScreen()
|
||||
if( iter != m_vpCourses.end() )
|
||||
{
|
||||
int iIndex = iter - m_vpCourses.begin();
|
||||
this->MoveRowAbsolute( PLAYER_1, 1 + iIndex, false );
|
||||
this->MoveRowAbsolute( PLAYER_1, 1 + iIndex );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ void ScreenOptionsManageEditSteps::BeginScreen()
|
||||
if( iter != m_vpSteps.end() )
|
||||
{
|
||||
int iIndex = iter - m_vpSteps.begin();
|
||||
this->MoveRowAbsolute( PLAYER_1, 1 + iIndex, false );
|
||||
this->MoveRowAbsolute( PLAYER_1, 1 + iIndex );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -131,13 +131,13 @@ void ScreenOptionsManageProfiles::BeginScreen()
|
||||
if( iter != m_vsLocalProfileID.end() )
|
||||
{
|
||||
int iIndex = iter - m_vsLocalProfileID.begin();
|
||||
this->MoveRowAbsolute( PLAYER_1, 1 + iIndex, false );
|
||||
this->MoveRowAbsolute( PLAYER_1, 1 + iIndex );
|
||||
}
|
||||
}
|
||||
else if( !m_vsLocalProfileID.empty() )
|
||||
{
|
||||
// select the first item below "create new"
|
||||
this->MoveRowAbsolute( PLAYER_1, 1, false );
|
||||
this->MoveRowAbsolute( PLAYER_1, 1 );
|
||||
}
|
||||
|
||||
AfterChangeRow( PLAYER_1 );
|
||||
|
||||
@@ -156,7 +156,7 @@ void ScreenOptionsMemoryCard::SelectRowWithMemoryCard( const RString &sOsMountPo
|
||||
{
|
||||
if( v[i].sOsMountDir == sOsMountPoint )
|
||||
{
|
||||
this->MoveRowAbsolute( PLAYER_1, i, false );
|
||||
this->MoveRowAbsolute( PLAYER_1, i );
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user