src/genworld.cpp
changeset 8434 558c39956ba2
parent 8380 174326093caa
child 8786 1823ff88a054
--- a/src/genworld.cpp	Tue Jan 29 00:26:31 2008 +0000
+++ b/src/genworld.cpp	Tue Jan 29 00:27:25 2008 +0000
@@ -90,7 +90,7 @@
 	if (_network_dedicated) DEBUG(net, 0, "Generating map, please wait...");
 	/* Set the Random() seed to generation_seed so we produce the same map with the same seed */
 	if (_patches.generation_seed == GENERATE_NEW_SEED) _patches.generation_seed = _patches_newgame.generation_seed = InteractiveRandom();
-	_random_seeds[0][0] = _random_seeds[0][1] = _patches.generation_seed;
+	_random.SetSeed(_patches.generation_seed);
 	SetGeneratingWorldProgress(GWP_MAP_INIT, 2);
 	SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, VHM_NONE, WC_MAIN_WINDOW, 0);