[freeciv-ai] Re: wrapgoto2
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 1 Dec 2002, Per I. Mathisen wrote:
> This is version2 of the wrapgoto patch. I removed the
> ai_unit_can_move|attack() functions and fixed a bug.
> I intend to commit this very soon unless someone scream.
In ai_unit_goto, the sanity check is unneccessary, you get the GR_ value.
If you want to check on do_unit_goto, do it as an assert, at least it will
be removed in the released versions.