Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] (PR#8796) bug(s) in city_increase_size
Home

[Freeciv-Dev] (PR#8796) bug(s) in city_increase_size

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8796) bug(s) in city_increase_size
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 May 2004 13:39:43 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8796 >

There are several problems with city_increase_size:

- It hard-codes the minimum city size for taxmen and scientists as 5.

- If auto-arrange-workers is called, the extra citizen is first made a 
taxman.  This may leave the city in a non-sane state if the population 
is too low.  It is fixed in the call to auto_arrange_workers but there's 
no guarantee that we won't hit a sanity check in the meantime.  The 
solution is easy: just make the extra citizen an elvis.  It makes no 
difference since auto_arrange_workers will change it anwyay.

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#8796) bug(s) in city_increase_size, Jason Short <=