make FailType a PlayerOption instead of a SongOption; fixes
peculiarity that GameState::GetPlayerFailType can implement fail modes per-player and nothing else can
This commit is contained in:
@@ -866,7 +866,7 @@ bool BackgroundImpl::IsDangerAllVisible()
|
||||
{
|
||||
/* The players are never in danger in FAIL_OFF. */
|
||||
FOREACH_PlayerNumber( p )
|
||||
if( GAMESTATE->GetPlayerFailType(GAMESTATE->m_pPlayerState[p]) == SongOptions::FAIL_OFF )
|
||||
if( GAMESTATE->GetPlayerFailType(GAMESTATE->m_pPlayerState[p]) == PlayerOptions::FAIL_OFF )
|
||||
return false;
|
||||
if( !g_bShowDanger )
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user