From 1152ef82e14cbd43f6fd94e098c33d00ccc1e620 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 28 Jul 2003 23:13:00 +0000 Subject: [PATCH] fix song options screen crash in course mode --- stepmania/src/GameState.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index fa7ea7c0cf..61f39f5faa 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -574,6 +574,10 @@ void setmax( T &a, const T &b ) * in ScreenSongOptions). */ void GameState::AdjustFailType() { + /* Single song mode only. */ + if( this->IsCourseMode() ) + return; + /* If the player changed the fail mode explicitly, leave it alone. */ if( GAMESTATE->m_bChangedFailType ) return;