diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 3986a4b1dd..68c9836193 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -279,20 +279,6 @@ const StyleDef* GameState::GetCurrentStyleDef() return GAMEMAN->GetStyleDefForStyle( m_CurStyle ); } -void GameState::ApplyModeChoice( const ModeChoice& mc, PlayerNumber pn ) -{ - if( mc.game != GAME_INVALID ) - m_CurGame = mc.game; - if( mc.pm != PLAY_MODE_INVALID ) - m_PlayMode = mc.pm; - if( mc.style != STYLE_INVALID ) - m_CurStyle = mc.style; - if( mc.dc != DIFFICULTY_INVALID && pn != PLAYER_INVALID ) - m_PreferredDifficulty[pn] = mc.dc; - if( mc.sAnnouncer != "" ) - ANNOUNCER->SwitchAnnouncer( mc.sAnnouncer ); -} - bool GameState::IsPlayable( const ModeChoice& mc ) { return mc.numSidesJoinedToPlay == GAMESTATE->GetNumSidesJoined(); diff --git a/stepmania/src/GameState.h b/stepmania/src/GameState.h index 8af6387a6a..7e527c6a26 100644 --- a/stepmania/src/GameState.h +++ b/stepmania/src/GameState.h @@ -65,7 +65,6 @@ public: GameDef* GetCurrentGameDef(); const StyleDef* GetCurrentStyleDef(); - void ApplyModeChoice( const ModeChoice& mc, PlayerNumber pn ); bool IsPlayable( const ModeChoice& mc ); void GetPlayerInfo( PlayerNumber pn, bool& bIsEnabledOut, bool& bIsHumanOut );