Force FailImmediate in battery mode. Some code assumes it.
Are there any interesting uses of allowing non-FailImmediate in battery mode? It would be harmless to allow setting it in the song options screen if it was useful and worked (the current problem is that the default fail mode is being applied, too).
This commit is contained in:
@@ -885,6 +885,11 @@ void ScreenGameplay::LoadNextSong()
|
||||
// Restore the player's originally selected options.
|
||||
GAMESTATE->RestoreSelectedOptions();
|
||||
|
||||
/* If we're in battery mode, force FailImmediate. We assume in PlayerMinus::Step that
|
||||
* failed players can't step. */
|
||||
if( GAMESTATE->m_SongOptions.m_LifeType == SongOptions::LIFE_BATTERY )
|
||||
GAMESTATE->m_SongOptions.m_FailType = SongOptions::FAIL_IMMEDIATE;
|
||||
|
||||
m_textSongOptions.SetText( GAMESTATE->m_SongOptions.GetString() );
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user