call PlayersFinalized only after applying the mode choice to both players, or else P2's preferred difficulty gets clobbered by the mode choice.

This commit is contained in:
Chris Danford
2004-10-13 02:56:29 +00:00
parent bb5ea1f864
commit caab80f188
2 changed files with 21 additions and 20 deletions
-9
View File
@@ -473,15 +473,6 @@ void ModeChoice::Apply( PlayerNumber pn ) const
// we don't override the user's changes if they back out.
if( GAMESTATE->m_PlayMode == PLAY_MODE_ONI && GAMESTATE->m_PlayMode != OldPlayMode )
GAMESTATE->m_SongOptions.m_LifeType = SongOptions::LIFE_BATTERY;
//
// We know what players are joined at the time we set the Style
//
if( m_pStyle != NULL )
{
GAMESTATE->PlayersFinalized();
}
}
bool ModeChoice::IsZero() const