summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
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;
}
+