Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: remove_city: bug with cities on the sea (PR#5073)
Home

[Freeciv-Dev] Re: remove_city: bug with cities on the sea (PR#5073)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: remove_city: bug with cities on the sea (PR#5073)
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Oct 2003 11:12:35 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Per I. Mathisen wrote:
> On Mon, 27 Oct 2003, Jason Short wrote:
> 
>>remove_city() will move all sea units off of a destroyed land city. If
>>the city is in the sea, we want to instead move all land units off of
>>the city.
> 
> 
> If I am so stupid that I pull the plug on a city with going-to-be illegal
> units in it, then I should be punished by losing these units. Working out
> elaborate schemes to cater for such extremely rare situations is a) not a
> good use of code, b) very hard-to-find-bug prone, and c)
> counter-intuitive anyway.

Sure.  That makes the patch easier (though the current behavior is still 
buggy).

Should the same logic be applied to disbanded cities on the land, so 
that ocean units are lots?

jason




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