From efd3d4210779d54a1434d71e08fa26b03478ef18 Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 6 Jan 2006 21:57:37 +0000 Subject: (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) --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') 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(); } -- cgit v1.2.3-70-g09d2