summaryrefslogtreecommitdiff
path: root/src/intro_gui.cpp
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-02-01 22:54:04 +0000
committerDarkvater <darkvater@openttd.org>2007-02-01 22:54:04 +0000
commit19c90a3bc0b8499c78b5edffff5557bf0b3de79b (patch)
treeedd7efc69c20d8d86433ed79142ae55a82293af3 /src/intro_gui.cpp
parent99f860e68615b011b959ac9edb45660a0396dc1b (diff)
downloadopenttd-19c90a3bc0b8499c78b5edffff5557bf0b3de79b.tar.xz
(svn r8522) -Regression (r8512): The flat/random window moved the to scenario editor did not use the right settings for generating land
Diffstat (limited to 'src/intro_gui.cpp')
-rw-r--r--src/intro_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intro_gui.cpp b/src/intro_gui.cpp
index 1ac459eef..8cb217486 100644
--- a/src/intro_gui.cpp
+++ b/src/intro_gui.cpp
@@ -67,7 +67,7 @@ static void SelectGameWndProc(Window *w, WindowEvent *e)
case 3: ShowSaveLoadDialog(SLD_LOAD_GAME); break;
case 4: ShowSaveLoadDialog(SLD_LOAD_SCENARIO); break;
case 5: ShowSaveLoadDialog(SLD_LOAD_HEIGHTMAP); break;
- case 6: _switch_mode = SM_EDITOR; break;
+ case 6: StartScenarioEditor(); break;
case 7:
if (!_network_available) {
ShowErrorMessage(INVALID_STRING_ID, STR_NETWORK_ERR_NOTAVAILABLE, 0, 0);