prevent two different difficulty selections in options screen for nonstop courses (not supported yet)

This commit is contained in:
Andrew Wong
2003-08-24 21:30:04 +00:00
parent 2412276eb0
commit 8e46dddfe5
+4
View File
@@ -245,6 +245,10 @@ void ScreenPlayerOptions::ImportOptions()
}
else if( GAMESTATE->m_pCurCourse ) // playing a course
{
// support for difficult on one side and normal on other is not supported
// force same choice on both sides
g_PlayerOptionsLines[PO_STEP].bOneChoiceForAllPlayers = true;
if( GAMESTATE->m_bDifficultCourses &&
GAMESTATE->m_pCurCourse->HasDifficult( GAMESTATE->GetCurrentStyleDef()->m_StepsType ) )
m_iSelectedOption[p][PO_STEP] = 1;