Bug #1166 » 0003-savegame2.c-Load-map.random_seed.patch
server/savegame2.c | ||
---|---|---|
game.map.server.have_huts
|
||
= secfile_lookup_bool_default(loading->file, TRUE, "map.have_huts");
|
||
/* Savegame may have stored random_seed for documentation purposes only,
|
||
* but we want to keep it for resaving. */
|
||
game.map.server.seed
|
||
= secfile_lookup_int_default(loading->file, 0, "map.random_seed");
|
||
if (S_S_INITIAL == loading->server_state
|
||
&& MAPGEN_SCENARIO == game.map.server.generator) {
|
||
/* Generator MAPGEN_SCENARIO is used;
|
- « Previous
- 1
- 2
- 3
- Next »