equal
deleted
inserted
replaced
88 { |
88 { |
89 _generating_world = true; |
89 _generating_world = true; |
90 if (_network_dedicated) DEBUG(net, 0, "Generating map, please wait..."); |
90 if (_network_dedicated) DEBUG(net, 0, "Generating map, please wait..."); |
91 /* Set the Random() seed to generation_seed so we produce the same map with the same seed */ |
91 /* Set the Random() seed to generation_seed so we produce the same map with the same seed */ |
92 if (_patches.generation_seed == GENERATE_NEW_SEED) _patches.generation_seed = _patches_newgame.generation_seed = InteractiveRandom(); |
92 if (_patches.generation_seed == GENERATE_NEW_SEED) _patches.generation_seed = _patches_newgame.generation_seed = InteractiveRandom(); |
93 _random_seeds[0][0] = _random_seeds[0][1] = _patches.generation_seed; |
93 _random.SetSeed(_patches.generation_seed); |
94 SetGeneratingWorldProgress(GWP_MAP_INIT, 2); |
94 SetGeneratingWorldProgress(GWP_MAP_INIT, 2); |
95 SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, VHM_NONE, WC_MAIN_WINDOW, 0); |
95 SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, VHM_NONE, WC_MAIN_WINDOW, 0); |
96 |
96 |
97 IncreaseGeneratingWorldProgress(GWP_MAP_INIT); |
97 IncreaseGeneratingWorldProgress(GWP_MAP_INIT); |
98 /* Must start economy early because of the costs. */ |
98 /* Must start economy early because of the costs. */ |