Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6695) nuclear causes core
Home

[Freeciv-Dev] Re: (PR#6695) nuclear causes core

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: paul@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6695) nuclear causes core
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 4 Nov 2003 01:40:03 -0800
Reply-to: rt@xxxxxxxxxxxxxx

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




[Prev in Thread] Current Thread [Next in Thread]