[freeciv-ai] Re: patch/rfc: wrap activity
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 1 Dec 2002, Per I. Mathisen wrote:
> Ok, here is a patch which cleans up could_unit_move_to_tile() and makes
> use of it around the code where applicable (instead of
> can_unit_move_to_tile() which will check with current activity instead of
> ACTIVITY_IDLE).
>
> Along with a patch to remove direct setting of activities with
> set_unit_activity(), this should be enough low-level change for fortifying
> to work. The rest is high-level and will be the subject of another patch.
>
> I intend to commit this very soon, since I want to move on to the other
> patches in this series.
I see at least one mistake, I'll be able to have a better look tomorrow,
please don't commit until then ;)
G.
|
|