From 0457317a6fb77711ff3c5ad40b5e9e98648dd271 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 17 Feb 2005 21:30:10 +0000 Subject: [PATCH] fix Combo30Misses overrides FailType shouldn't override FailOff --- stepmania/src/ScreenGameplay.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 08ae8f1e54..21c53b5b04 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1405,7 +1405,10 @@ void ScreenGameplay::Update( float fDeltaTime ) bool bBeginFailed = false; SongOptions::FailType ft = GAMESTATE->m_SongOptions.m_FailType; if( PREFSMAN->m_bMinimum1FullSongInCourses && GAMESTATE->IsCourseMode() && GAMESTATE->GetCourseSongIndex()==0 ) - ft = SongOptions::FAIL_COMBO_OF_30_MISSES; + { + // take the least harsh of the two FailTypes + ft = max( ft, SongOptions::FAIL_COMBO_OF_30_MISSES ); + } switch( ft ) { case SongOptions::FAIL_IMMEDIATE: