[Freeciv-Dev] Re: (PR#6649) don't reassign units to an allied city
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, 27 Oct 2003, Jason Short wrote:
> In remove_city() in the server, when a city is disbanded for each of its
> supported units, if that unit is in another city, that city is assigned
> as its homecity.
>
> Since there's no check for ownership of the city, if your unit happens
> to be in an allied city that city (and player) will get ownership of
> your unit.
>
> This seems wrong. Of course, as the comment says this code is a hack
> already; a more elegant solution would be desirable.
Use transfer_unit()?
- Per
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#6649) don't reassign units to an allied city,
Per I. Mathisen <=
|
|