(svn r21894) -Cleanup: get rid of the unused SM_START_SCENARIO

This commit is contained in:
rubidium 2011-01-22 23:08:18 +00:00
parent 0537672324
commit 7eadf07e44
2 changed files with 0 additions and 10 deletions

View File

@ -1010,15 +1010,6 @@ void SwitchToMode(SwitchMode new_mode)
MakeNewGame(false, new_mode == SM_NEWGAME);
break;
case SM_START_SCENARIO: // New Game --> Choose one of the preset scenarios
#ifdef ENABLE_NETWORK
if (_network_server) {
snprintf(_network_game_info.map_name, lengthof(_network_game_info.map_name), "%s (Loaded scenario)", _file_to_saveload.title);
}
#endif /* ENABLE_NETWORK */
StartScenario();
break;
case SM_LOAD: { // Load game, Play Scenario
ResetGRFConfig(true);
ResetWindowSystem();

View File

@ -30,7 +30,6 @@ enum SwitchMode {
SM_SAVE,
SM_GENRANDLAND,
SM_LOAD_SCENARIO,
SM_START_SCENARIO,
SM_START_HEIGHTMAP,
SM_LOAD_HEIGHTMAP,
};