Complete.Org: Mailing Lists: Archives: freeciv-ai: December 2002:
[freeciv-ai] Re: wrapgoto2

[freeciv-ai] Re: wrapgoto2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: wrapgoto2
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Mon, 2 Dec 2002 19:30:56 +0000 (GMT)

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.


[Prev in Thread] Current Thread [Next in Thread]