Project

General

Profile

Feature #1900 ยป 1900.patch

John Robertson, 01/12/2026 12:56 AM

View differences:

server/cityturn.c
if (pextra != nullptr && !tile_has_extra(ptile, pextra)) {
tile_add_extra(ptile, pextra);
update_tile_knowledge(ptile);
unit_list_iterate((city_tile(pcity))->units, punit) {
if (unit_has_type_flag(punit, UTYF_WORKERS)
&& punit->activity == ACTIVITY_SENTRY) {
punit->ssa_controller = SSA_AUTOWORKER;
send_unit_info(NULL, punit);
}
}
unit_list_iterate_end;
return TRUE;
}
    (1-1/1)