summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-04 14:27:54 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-04 14:27:54 +0000
commitc7d3d996bf34218aa83764b055e9a3463d624308 (patch)
treeeb735610b291d04eb8d084378a46cf3e14de30d6 /main_gui.c
parent9a87e1e0ea23e4ca76ebc1b2d9bcc08110d5a674 (diff)
downloadopenttd-c7d3d996bf34218aa83764b055e9a3463d624308.tar.xz
(svn r7357) -Codechange: new NewGRF set up window which allows modification of NewGRF settings.
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 9f6a6042c..95ae13a70 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -35,6 +35,7 @@
#include "settings.h"
#include "date.h"
#include "vehicle_gui.h"
+#include "newgrf_config.h"
#include "network_data.h"
#include "network_client.h"
@@ -152,7 +153,7 @@ static void MenuClickSettings(int index)
case 0: ShowGameOptions(); return;
case 1: ShowGameDifficulty(); return;
case 2: ShowPatchesSelection(); return;
- case 3: ShowNewgrf(); return;
+ case 3: ShowNewGRFSettings(false, true, &_grfconfig); return;
case 5: _display_opt ^= DO_SHOW_TOWN_NAMES; break;
case 6: _display_opt ^= DO_SHOW_STATION_NAMES; break;
@@ -2450,3 +2451,4 @@ void InitializeMainGui(void)
_last_built_railtype = 0;
}
+