equal
deleted
inserted
replaced
82 } |
82 } |
83 |
83 |
84 /** |
84 /** |
85 * The internal, real, generate function. |
85 * The internal, real, generate function. |
86 */ |
86 */ |
87 static void *_GenerateWorld(void *arg) |
87 static void * CDECL _GenerateWorld(void *arg) |
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(); |