[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]
|
probably others too. [AJ]
|
||||||
* [ScreenGameplaySyncMachine] Fixed a crash when entering
|
* [ScreenGameplaySyncMachine] Fixed a crash when entering
|
||||||
ScreenGameplaySyncMachine as Player 2. (Fixes issue 127) [AJ]
|
ScreenGameplaySyncMachine as Player 2. (Fixes issue 127) [AJ]
|
||||||
|
* [ScreenOptionsEditCourse] Fixed a crash when going to the first row. (Fixes issue 235) [AJ]
|
||||||
|
|
||||||
20110422
|
20110422
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -447,9 +447,14 @@ void ScreenOptionsEditCourse::AfterChangeRow( PlayerNumber pn )
|
|||||||
{
|
{
|
||||||
ScreenOptions::AfterChangeRow( pn );
|
ScreenOptions::AfterChangeRow( pn );
|
||||||
|
|
||||||
|
const int iCurRow = m_iCurrentRow[pn];
|
||||||
|
// only do this if it's not the first row. -aj
|
||||||
|
if( iCurRow > 0 )
|
||||||
|
{
|
||||||
SetCurrentSong();
|
SetCurrentSong();
|
||||||
SetCurrentSteps();
|
SetCurrentSteps();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void ScreenOptionsEditCourse::AfterChangeValueInRow( int iRow, PlayerNumber pn )
|
void ScreenOptionsEditCourse::AfterChangeValueInRow( int iRow, PlayerNumber pn )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user