From aaf2172a97d4f8b403fb1451f5365b5f3ee9d1cd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 15 Feb 2003 05:08:57 +0000 Subject: [PATCH] autofail for extra stages --- stepmania/src/ScreenSelectMusic.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index bbb7c6a7f7..3553101710 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -574,6 +574,18 @@ void ScreenSelectMusic::AdjustOptions() /* Easy is always end-of-song. */ else if(dc == DIFFICULTY_EASY && !GAMESTATE->IsExtraStage() && !GAMESTATE->IsExtraStage2()) GAMESTATE->m_SongOptions.m_FailType = SongOptions::FAIL_END_OF_SONG; + + if(GAMESTATE->IsExtraStage() || GAMESTATE->IsExtraStage2()) + { + /* Extra stage. We need to make sure we undo any changes above from + * previous rounds; eg. where one player is on beginner and the other + * is on hard, we've changed the fail mode in previous rounds and we + * want to reset it for the extra stage. + * + * Besides, extra stage should probably always be FAIL_ARCADE anyway, + * unless the extra stage course says otherwise. */ + GAMESTATE->m_SongOptions.m_FailType = SongOptions::FAIL_ARCADE; + } } void ScreenSelectMusic::HandleScreenMessage( const ScreenMessage SM )