summaryrefslogtreecommitdiff
path: root/genworld_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-04 08:30:04 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-04 08:30:04 +0000
commit3b6d2ed064b790e9296f13656d742bbd67f3adf9 (patch)
treefb2a8cf881b385cb52b110880f86128061ea020c /genworld_gui.c
parent0c5d6c94d69580bf114054ef95e63090a2337a12 (diff)
downloadopenttd-3b6d2ed064b790e9296f13656d742bbd67f3adf9.tar.xz
(svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames...
Diffstat (limited to 'genworld_gui.c')
-rw-r--r--genworld_gui.c2
1 files changed, 2 insertions, 0 deletions
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) {