(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)
This commit is contained in:
truelight
2006-01-06 21:57:37 +00:00
parent 10a2787fd5
commit efd3d42107
5 changed files with 30 additions and 15 deletions

View File

@@ -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();
}