diff options
author | peter1138 <peter1138@openttd.org> | 2006-12-04 08:30:04 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-12-04 08:30:04 +0000 |
commit | bd66cc57569a034b02674fa8aaa5dbe521e73a36 (patch) | |
tree | fb2a8cf881b385cb52b110880f86128061ea020c /genworld_gui.c | |
parent | dc8992a677b8b7b56b8ad55d7da690b77105bb83 (diff) | |
download | openttd-bd66cc57569a034b02674fa8aaa5dbe521e73a36.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.c | 2 |
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) { |