src/genworld.cpp
changeset 6144 5a0ffbf27ced
parent 5919 2b58160d667d
child 6235 5077e6ed3788
child 6505 abcb0580d976
equal deleted inserted replaced
6143:87e99d425124 6144:5a0ffbf27ced
    82 	if (_network_dedicated) DEBUG(net, 0, "Generating map, please wait...");
    82 	if (_network_dedicated) DEBUG(net, 0, "Generating map, please wait...");
    83 	/* Set the Random() seed to generation_seed so we produce the same map with the same seed */
    83 	/* Set the Random() seed to generation_seed so we produce the same map with the same seed */
    84 	if (_patches.generation_seed == GENERATE_NEW_SEED) _patches.generation_seed = _patches_newgame.generation_seed = InteractiveRandom();
    84 	if (_patches.generation_seed == GENERATE_NEW_SEED) _patches.generation_seed = _patches_newgame.generation_seed = InteractiveRandom();
    85 	_random_seeds[0][0] = _random_seeds[0][1] = _patches.generation_seed;
    85 	_random_seeds[0][0] = _random_seeds[0][1] = _patches.generation_seed;
    86 	SetGeneratingWorldProgress(GWP_MAP_INIT, 2);
    86 	SetGeneratingWorldProgress(GWP_MAP_INIT, 2);
    87 	SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, 0, 0, 0);
    87 	SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, 0, WC_MAIN_WINDOW, 0);
    88 
    88 
    89 	IncreaseGeneratingWorldProgress(GWP_MAP_INIT);
    89 	IncreaseGeneratingWorldProgress(GWP_MAP_INIT);
    90 	// Must start economy early because of the costs.
    90 	// Must start economy early because of the costs.
    91 	StartupEconomy();
    91 	StartupEconomy();
    92 
    92