Bug #1257 » 0061-Fix-worklist-purging-for-units-that-cannot-be-update.patch
| server/cityturn.c | ||
|---|---|---|
|
} unit_tech_reqs_iterate_end;
|
||
|
purge = FALSE;
|
||
|
if (missing != NULL) {
|
||
|
if (!multiple) {
|
||
|
notify_player(pplayer, city_tile(pcity),
|
||
| ... | ... | |
|
saved_id);
|
||
|
}
|
||
|
city_checked = FALSE;
|
||
|
break;
|
||
|
if (!purge) {
|
||
|
break;
|
||
|
}
|
||
|
} else {
|
||
|
purge = !can_city_build_unit_later(nmap, pcity, pupdate);
|
||
|
}
|
||
| ... | ... | |
|
city_checked = FALSE;
|
||
|
}
|
||
|
} else {
|
||
|
/* Yep, we can go after pupdate instead. Joy! */
|
||
|
/* Yep, we can go after pupdate instead. Joy! */
|
||
|
notify_player(pplayer, city_tile(pcity), E_WORKLIST, ftc_server,
|
||
|
_("Production of %s is upgraded to %s in %s."),
|
||
|
utype_name_translation(ptarget),
|
||