Fixed Bug that Crashed SM when using 7 Stages or Event Mode.
This commit is contained in:
@@ -309,9 +309,12 @@ void GameState::GetAllStageTexts( CStringArray &out )
|
|||||||
out.push_back( "final" );
|
out.push_back( "final" );
|
||||||
out.push_back( "extra1" );
|
out.push_back( "extra1" );
|
||||||
out.push_back( "extra2" );
|
out.push_back( "extra2" );
|
||||||
for( int stage = 0; stage < PREFSMAN->m_iNumArcadeStages; ++stage )
|
if (!(PREFSMAN->m_bEventMode))
|
||||||
|
{
|
||||||
|
for( int stage = 0; stage < (PREFSMAN->m_iNumArcadeStages)-1; ++stage )
|
||||||
out.push_back( ssprintf("%d",stage+1) );
|
out.push_back( ssprintf("%d",stage+1) );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int GameState::GetCourseSongIndex()
|
int GameState::GetCourseSongIndex()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user