[freeciv-ai] (PR#13295) swapping cities for tech
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13295 >
> [per - Wed Jul 20 18:32:15 2005]:
> On Mon, 20 Jun 2005, Fishpark wrote:
> > But in one game I have been able to acquire the
> > Lithuanians' only remaining city (thereby removing
> > them from the game) because their capital city was
> > unknown to me.
> > You shouldn't be able to buy a capital city, even if
> > you don't know the city is the capital.
> No, you should not be able to, and as far as I read the code this is
> impossible. However, there is another possibility - that the Lithuanian's
> capital had lost its Palace, and therefore was no longer counted as a
> capital. So this patch adds additional checks to ensure that the AI will
> never sell its last cities.
> - Per
See 10997. Which is committed to both branches.
In 2.0.3 AI doesn't sell its last two cities - this patch is unnecessary.