Project

General

Profile

Bug #1466 ยป 0094-Correct-technology_load-function-header.patch

Marko Lindqvist, 05/29/2025 05:14 AM

View differences:

server/savegame/savegame2.c
}
/************************************************************************//**
Load technology from path_name and if doesn't exist (because savegame
is too old) load from path.
Load technology from path + "_name".
****************************************************************************/
static Tech_type_id technology_load(struct section_file *file,
const char *path, int plrno)
......
name = secfile_lookup_str(file, path_with_name, plrno);
if (!name || name[0] == '\0') {
/* used by researching_saved */
/* Used by researching_saved */
return A_UNKNOWN;
}
if (fc_strcasecmp(name, "A_FUTURE") == 0) {
server/savegame/savegame3.c
}
/************************************************************************//**
Load technology from path_name and if doesn't exist (because savegame
is too old) load from path.
Load technology from path + "_name".
****************************************************************************/
static Tech_type_id technology_load(struct section_file *file,
const char *path, int plrno)
    (1-1/1)