use same fail logic for Oni as for Nonstop

This commit is contained in:
Chris Danford
2005-06-16 22:09:03 +00:00
parent ed440fa648
commit 8a2334b4bf
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1308,9 +1308,9 @@ SongOptions::FailType GameState::GetPlayerFailType( PlayerNumber pn ) const
if( this->m_bChangedFailTypeOnScreenSongOptions )
return ft;
if( GAMESTATE->m_PlayMode == PLAY_MODE_NONSTOP )
if( GAMESTATE->IsCourseMode() )
{
if( PREFSMAN->m_bMinimum1FullSongInNonstop && GAMESTATE->GetCourseSongIndex()==0 )
if( PREFSMAN->m_bMinimum1FullSongInCourses && GAMESTATE->GetCourseSongIndex()==0 )
ft = max( ft, SongOptions::FAIL_END_OF_SONG ); // take the least harsh of the two FailTypes
}
else