fix AV preloading SPlayerOptions when no course selected

This commit is contained in:
Chris Danford
2006-03-01 21:37:49 +00:00
parent d2e10295c4
commit e5da1a542a
+1 -1
View File
@@ -311,7 +311,7 @@ class OptionRowHandlerListSteps : public OptionRowHandlerList
m_Def.m_vsChoices.push_back( "" ); m_Def.m_vsChoices.push_back( "" );
m_aListEntries.push_back( GameCommand() ); 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; m_Def.m_bOneChoiceForAllPlayers = (bool)PREFSMAN->m_bLockCourseDifficulties;