Project

General

Profile

Bug #1618 » 1618.patch

good for S3_2 & S3_3 - Dean Brown, 07/21/2026 02:59 AM

View differences:

server/unithand.c
fc_assert_ret_val(amount > 0, FALSE);
city_size_add(pcity, amount);
/* Make the new people something, otherwise city fails the checks */
pcity->specialists[DEFAULT_SPECIALIST] += amount;
citizens_update(pcity, unit_nationality(punit));
/* Refresh the city data. */
city_refresh(pcity);
/* Make the new people something, otherwise city fails the checks */
auto_arrange_workers(pcity); /* this calls city_refresh(pcity) */
/* Notify the unit owner that the unit successfully joined the city. */
notify_player(pplayer, city_tile(pcity), E_CITY_BUILD, ftc_server,
(1-1/2)