From e5da1a542acffbb9d6a45af333d3197ab79fb03b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 1 Mar 2006 21:37:49 +0000 Subject: [PATCH] fix AV preloading SPlayerOptions when no course selected --- stepmania/src/OptionRowHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/OptionRowHandler.cpp b/stepmania/src/OptionRowHandler.cpp index 6732747799..a578e75d2b 100644 --- a/stepmania/src/OptionRowHandler.cpp +++ b/stepmania/src/OptionRowHandler.cpp @@ -311,7 +311,7 @@ class OptionRowHandlerListSteps : public OptionRowHandlerList m_Def.m_vsChoices.push_back( "" ); m_aListEntries.push_back( GameCommand() ); } - else if( GAMESTATE->IsCourseMode() ) // playing a course + else if( GAMESTATE->IsCourseMode() && GAMESTATE->m_pCurCourse ) // playing a course { m_Def.m_bOneChoiceForAllPlayers = (bool)PREFSMAN->m_bLockCourseDifficulties;