Complete.Org: Mailing Lists: Archives: freeciv-ai: October 2002:
[freeciv-ai] Re: better easy mode
Home

[freeciv-ai] Re: better easy mode

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: better easy mode
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 31 Oct 2002 13:23:00 +0000 (GMT)

On Thu, 31 Oct 2002, Raimar Falke wrote:
> > This is only a sanity check since it should already have this role. (The
> > current AI has a problem with forgetting roles.) In my massive ai tree
> > this problem has been fixed and the above line has been replaced by
> >
> >     assert(punit->ai.ai_role == AIUNIT_ESCORT);
>
> From my short reading there my be a problem with bodyguard assignment.

No, I used to have a LOG_ERROR there in massive ai patch for a while. It
never happened.

> > Your patch will now be assimilated into my tree...
>
> Bad. It should instead be applied.

You mean you really want the duplication of ai_unit_new_role() ??

That is crazy.

> > ...and then I'll try to [back]port these changes as a separate patch.

See the attached patch. You wanted the massive ai patch split up, well,
here is one piece of it... please read & comment.

  - Per

Attachment: wraproles1.diff
Description: Text document


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