Fixed Bug that Crashed SM when using 7 Stages or Event Mode.

This commit is contained in:
David Wilson
2003-10-23 17:10:19 +00:00
parent 198f58acd4
commit d25bb0ad2a
+4 -1
View File
@@ -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()
{ {