Project

General

Profile

Bug #1167 » 0004-savegame-Load-game.random_seed.patch

S2_6 - Marko Lindqvist, 11/30/2024 03:36 AM

View differences:

server/savegame2.c
game.info.coolinglevel
= secfile_lookup_int_default(loading->file, 0, "game.coolinglevel");
/* Savegame may have stored random_seed for documentation purposes only,
* but we want to keep it for resaving. */
game.server.seed = secfile_lookup_int_default(loading->file, 0, "game.random_seed");
/* Global advances. */
string = secfile_lookup_str_default(loading->file, NULL,
"game.global_advances");
(2-2/2)