[ScreenOptionsEditCourse] Fixed a crash when going to the first row. (Fixes issue 235)
This commit is contained in:
@@ -19,6 +19,7 @@ sm-ssc v1.2.5 | 201104??
|
||||
probably others too. [AJ]
|
||||
* [ScreenGameplaySyncMachine] Fixed a crash when entering
|
||||
ScreenGameplaySyncMachine as Player 2. (Fixes issue 127) [AJ]
|
||||
* [ScreenOptionsEditCourse] Fixed a crash when going to the first row. (Fixes issue 235) [AJ]
|
||||
|
||||
20110422
|
||||
--------
|
||||
|
||||
@@ -447,8 +447,13 @@ void ScreenOptionsEditCourse::AfterChangeRow( PlayerNumber pn )
|
||||
{
|
||||
ScreenOptions::AfterChangeRow( pn );
|
||||
|
||||
SetCurrentSong();
|
||||
SetCurrentSteps();
|
||||
const int iCurRow = m_iCurrentRow[pn];
|
||||
// only do this if it's not the first row. -aj
|
||||
if( iCurRow > 0 )
|
||||
{
|
||||
SetCurrentSong();
|
||||
SetCurrentSteps();
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenOptionsEditCourse::AfterChangeValueInRow( int iRow, PlayerNumber pn )
|
||||
|
||||
Reference in New Issue
Block a user