[Freeciv-Dev] Re: (PR#12788) Does a Unit Ever Know its Body Guard?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12788 >
On Wed, 13 Apr 2005, Benedict Adamson wrote:
> Units have fields ai.charge and ai.bodyguard, so charges and guards can
> have a cross reference to each other. However, I can find nowhere in the
> code where the ai.bodyguard field is ever set to the ID of a unit's
> guard (there are several places where it is set to BODYGUARD_NONE or
> BODYGUARD_WANTED).
That is interesting. While the bodyguard field is usually used for finding
jobs, and the charge field usually for managing bodyguards, this might be
a source of some errors in the AI. Can you make a patch?
- Per
- [Freeciv-Dev] Re: (PR#12788) Does a Unit Ever Know its Body Guard?,
Per I. Mathisen <=
|
|