[Freeciv-Dev] Re: (PR#2280) Transfer or city with allied units inside --
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Nov 09, 2002 at 09:11:14AM -0800, Davide Pagnin via RT wrote:
> In the event that we are transferring units inside a city to another
> owner, we apply the old code.
> In the event that the units inside the city are owned by a third player,
> not allied with the new owner of the city, its units are teleported to
> the nearest city.
> In the event (Which IMHO can't happen, but I don't know...) that
> find_closest_owned_cities return NULL, then the unit is destroyed.
> (This same choice and code is used in the resolve_unit_stack function
> which I have used as model)
This is a fine algorithm.
|
|