src/genworld.cpp
changeset 5893 7e431a4abebb
parent 5668 36b39f4a9032
child 6179 d19b0137d8e4
equal deleted inserted replaced
5892:e1d55528ba34 5893:7e431a4abebb
    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