Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11350) handle_city_short_info Does not use create_
Home

[Freeciv-Dev] Re: (PR#11350) handle_city_short_info Does not use create_

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#11350) handle_city_short_info Does not use create_city_virtual.
From: "Benedict Adamson" <badamson@xxxxxxxxxxx>
Date: Fri, 10 Dec 2004 11:45:22 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11350 >

Jason Short wrote:
...
> This looks wrong.  Cities can change owners you know.
...

I do not see the problem. The code has an if statement with two 
branches, one for a city never seen before and the second for a city 
seen before. Only the second branch needs to consider the possibility of 
a city changing owner (or name), and it does so.





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