diff --git a/server/report.c b/server/report.c index 75e324cc25..b76d1e7acb 100644 --- a/server/report.c +++ b/server/report.c @@ -533,24 +533,46 @@ void report_wonders_of_the_world(struct conn_list *dest) struct city *pcity = city_from_great_wonder(i); if (pcity) { - if (player_count() > team_count()) { - /* There exists a team with more than one member. */ - char team_name[2 * MAX_LEN_NAME]; - - team_pretty_name(city_owner(pcity)->team, team_name, - sizeof(team_name)); - cat_snprintf(buffer, sizeof(buffer), - /* TRANS: "Colossus in Rhodes (Greek, team 2)". */ - _("%s in %s (%s, %s)\n"), - city_improvement_name_translation(pcity, i), - city_name_get(pcity), - nation_adjective_for_player(city_owner(pcity)), - team_name); + if (!improvement_obsolete(city_owner(pcity), i, pcity)) { + if (player_count() > team_count()) { + /* There exists a team with more than one member. */ + char team_name[2 * MAX_LEN_NAME]; + + team_pretty_name(city_owner(pcity)->team, team_name, + sizeof(team_name)); + cat_snprintf(buffer, sizeof(buffer), + /* TRANS: "Colossus in Rhodes (Greek, team 2)". */ + _("%s in %s (%s, %s)\n"), + city_improvement_name_translation(pcity, i), + city_name_get(pcity), + nation_adjective_for_player(city_owner(pcity)), + team_name); + } else { + cat_snprintf(buffer, sizeof(buffer), _("%s in %s (%s)\n"), + city_improvement_name_translation(pcity, i), + city_name_get(pcity), + nation_adjective_for_player(city_owner(pcity))); + } } else { - cat_snprintf(buffer, sizeof(buffer), _("%s in %s (%s)\n"), - city_improvement_name_translation(pcity, i), - city_name_get(pcity), - nation_adjective_for_player(city_owner(pcity))); + if (player_count() > team_count()) { + /* There exists a team with more than one member. */ + char team_name[2 * MAX_LEN_NAME]; + + team_pretty_name(city_owner(pcity)->team, team_name, + sizeof(team_name)); + cat_snprintf(buffer, sizeof(buffer), + /* TRANS: "Colossus in Rhodes (Greek, team 2) is obsolete". */ + _("%s in %s (%s, %s) is obsolete\n"), + city_improvement_name_translation(pcity, i), + city_name_get(pcity), + nation_adjective_for_player(city_owner(pcity)), + team_name); + } else { + cat_snprintf(buffer, sizeof(buffer), _("%s in %s (%s) is obsolete\n"), + city_improvement_name_translation(pcity, i), + city_name_get(pcity), + nation_adjective_for_player(city_owner(pcity))); + } } } else if (great_wonder_is_destroyed(i)) { cat_snprintf(buffer, sizeof(buffer), _("%s has been DESTROYED\n"),