Project

General

Profile

Feature #1090 ยป 0074-Fix-savegame-comment-typos.patch

Marko Lindqvist, 11/09/2024 02:32 PM

View differences:

server/savegame/savecompat.c
secfile_insert_str(loading->file, default_ai_type_name(),
"player%d.ai_type", player_slot_index(pslot));
/* Create dummy citizens informations. We do not know if citizens are
/* Create dummy citizens information. We do not know if citizens are
* activated due to the fact that this information
* (game.info.citizen_nationality) is not available, but adding the
* information does no harm. */
server/savegame/savegame2.c
"(%d) from the loaded game does not match the number of "
"players present (%d).", nplayers, player_count());
/* Load team informations. */
/* Load team information. */
players_iterate(pplayer) {
int team;
struct team_slot *tslot = NULL;
......
/* Check the success of the functions above. */
sg_check_ret();
/* print out some informations */
/* Print out some information */
if (is_ai(pplayer)) {
log_normal(_("%s has been added as %s level AI-controlled player "
"(%s)."), player_name(pplayer),
server/savegame/savegame3.c
"(%d) from the loaded game does not match the number of "
"players present (%d).", nplayers, player_count());
/* Load team informations. */
/* Load team information. */
players_iterate(pplayer) {
int team;
struct team_slot *tslot = NULL;
......
/* Check the success of the functions above. */
sg_check_ret();
/* print out some informations */
/* Print out some information */
if (is_ai(pplayer)) {
log_normal(_("%s has been added as %s level AI-controlled player "
"(%s)."), player_name(pplayer),
......
secfile_insert_str(saving->file, city_style_rule_name(pcity->style),
"%s.style", buf);
/* Save the squared city radius and all tiles within the corresponing
/* Save the squared city radius and all tiles within the corresponding
* city map. */
secfile_insert_int(saving->file, pcity->city_radius_sq,
"player%d.c%d.city_radius_sq", plrno, i);
    (1-1/1)