[Freeciv-Dev] Re: (PR#6695) nuclear causes core
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 2 Nov 2003, Raimar Falke wrote:
> > - if (pcity->size > 1) { /* size zero cities are ridiculous -- Syela */
> > - pcity->size /= 2;
> > - auto_arrange_workers(pcity);
> > - send_city_info(NULL, pcity);
> > - }
> > + city_reduce_size(pcity, pcity->size / 2);
> > + auto_arrange_workers(pcity);
> > + send_city_info(NULL, pcity);
>
> IMHO the call to auto_arrange_workers is not needed.
Right. city_reduce_size() already calls aaw if real workers are removed.
- Per
- [Freeciv-Dev] Re: (PR#6695) nuclear causes core,
Per I. Mathisen <=
|
|