summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-22 23:08:18 +0000
committerrubidium <rubidium@openttd.org>2011-01-22 23:08:18 +0000
commit7eadf07e44d5f6afe097fc77beee4170c270b93c (patch)
tree5bce11b69f3d80371d1de04e6a79408cd6763819 /src
parent0537672324cbd37db2a12bb317f9c5519f737705 (diff)
downloadopenttd-7eadf07e44d5f6afe097fc77beee4170c270b93c.tar.xz
(svn r21894) -Cleanup: get rid of the unused SM_START_SCENARIO
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp9
-rw-r--r--src/openttd.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index dcdb835da..e2d4e39f4 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -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();
diff --git a/src/openttd.h b/src/openttd.h
index 131a8bd60..3a3180036 100644
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -30,7 +30,6 @@ enum SwitchMode {
SM_SAVE,
SM_GENRANDLAND,
SM_LOAD_SCENARIO,
- SM_START_SCENARIO,
SM_START_HEIGHTMAP,
SM_LOAD_HEIGHTMAP,
};