From 3b6d2ed064b790e9296f13656d742bbd67f3adf9 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 4 Dec 2006 08:30:04 +0000 Subject: (svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames... --- genworld_gui.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'genworld_gui.c') diff --git a/genworld_gui.c b/genworld_gui.c index 571dec4f9..7b597bd57 100644 --- a/genworld_gui.c +++ b/genworld_gui.c @@ -22,6 +22,7 @@ #include "network.h" #include "thread.h" #include "date.h" +#include "newgrf_config.h" enum { START_DATE_QUERY, @@ -164,6 +165,7 @@ static void StartGeneratingLandscape(glwp_modes mode) UpdatePatches(); _opt_ptr = &_opt; *_opt_ptr = _opt_newgame; + ResetGRFConfig(true); SndPlayFx(SND_15_BEEP); switch (mode) { -- cgit v1.2.3-54-g00ecf