summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-01-06 21:57:37 +0000
committertruelight <truelight@openttd.org>2006-01-06 21:57:37 +0000
commitefd3d4210779d54a1434d71e08fa26b03478ef18 (patch)
treefd96410bf56810a2dd8d3cc1147612e1fee71db2 /main_gui.c
parent10a2787fd595788567bb1c3860dd31f37f628361 (diff)
downloadopenttd-efd3d4210779d54a1434d71e08fa26b03478ef18.tar.xz
(svn r3376) -Codechange: made enums for GenerateWorld and InitializeGame 'mode'
-Fix: [ FS#30 ] don't reset date in SE when pressing RandomLand (rewrote patch of MeusH, but Peter warned me I should put his name in, so... oh well)
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 89f2611bf..2c8c1a2ae 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -1067,7 +1067,7 @@ static void ResetLandscape(void)
_random_seeds[0][0] = InteractiveRandom();
_random_seeds[0][1] = InteractiveRandom();
- GenerateWorld(1, 1 << _patches.map_x, 1 << _patches.map_y);
+ GenerateWorld(GW_EMPTY, 1 << _patches.map_x, 1 << _patches.map_y);
MarkWholeScreenDirty();
}