Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] Re: (PR#6123) Loop in ai_manage_airunit
Home

[Freeciv-Dev] Re: (PR#6123) Loop in ai_manage_airunit

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ue80@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6123) Loop in ai_manage_airunit
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Thu, 11 Sep 2003 04:15:03 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Wed, 10 Sep 2003, Gregory Berkolaiko wrote:

> On Wed, 10 Sep 2003, Gregory Berkolaiko wrote:
> 
> > I see where the problem is and I think I know what to do.
> > 
> > There are two parts of the problem, 
> > 1. The attack rule change was not properly supported across the board.
> > 2. There is no loop prevention in ai_manage_airunit.
> 
> Attached is a patch to ai_manage_airunit which makes it more robust and
> prevent loops from happenning.  I haven't tested it yet, tomorrow.

Seems to work.

G.





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