Feature #1901 ยป 1901.patch
| server/citytools.c | ||
|---|---|---|
|
city_map_radius_sq_set(pcity, city_radius_sq_new);
|
||
|
if (city_tiles_old < city_tiles_new) {
|
||
|
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;
|
||
|
/* Increased number of city tiles */
|
||
|
city_refresh_vision(pcity);
|
||
|
} else {
|
||