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
+5 -2
View File
@@ -309,8 +309,11 @@ void GameState::GetAllStageTexts( CStringArray &out )
out.push_back( "final" );
out.push_back( "extra1" );
out.push_back( "extra2" );
for( int stage = 0; stage < PREFSMAN->m_iNumArcadeStages; ++stage )
out.push_back( ssprintf("%d",stage+1) );
if (!(PREFSMAN->m_bEventMode))
{
for( int stage = 0; stage < (PREFSMAN->m_iNumArcadeStages)-1; ++stage )
out.push_back( ssprintf("%d",stage+1) );
}
}
int GameState::GetCourseSongIndex()