Project

General

Profile

Bug #1166 » 0067-savegame2.c-Load-map.random_seed.patch

main - Marko Lindqvist, 11/29/2024 10:46 PM

View differences:

server/savegame/savegame2.c
wld.map.altitude_info = FALSE;
/* Savegame may have stored random_seed for documentation purposes only,
* but we want to keep it for resaving. */
wld.map.server.seed
= secfile_lookup_int_default(loading->file, 0, "map.random_seed");
if (S_S_INITIAL == loading->server_state
&& MAPGEN_SCENARIO == wld.map.server.generator) {
/* Generator MAPGEN_SCENARIO is used;
(1-1/3)