[Freeciv-Dev] (PR#12836) AI Grabs Allies as City Guards
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12836 >
The function ai_set_defenders considers *all* units in a city as
potential city guards. It will therefore consider allied units that
happen to be present, including units owned by human players.
My AI guards (see PR#12781) API manifests this problem by complaining
that guards are 'being asigned [sic] to foreign city' for the attached
autogame.
set gameseed 23
set mapseed 17
set size 1
set startpos 3
set land 85
set specials 1000
set aifill 4
set startunits cccccdddddxxx
set dispersion 1
set researchcost 100
set foodbox 5
set huts 0
set barbarians 4
normal
set endyear 1700
create Caesar
create Itzcoatl
create Hannibal
create Elizabeth
set timeout -1
start
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#12836) AI Grabs Allies as City Guards,
Benedict Adamson <=
|