From d25bb0ad2abfc66dda99d322a4b0946a89dbec05 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 23 Oct 2003 17:10:19 +0000 Subject: [PATCH] Fixed Bug that Crashed SM when using 7 Stages or Event Mode. --- stepmania/src/GameState.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 2a69cd6bb5..1edbe06f7d 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -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()