Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2636) fix for grave bug in aiair.c
Home

[Freeciv-Dev] Re: (PR#2636) fix for grave bug in aiair.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2636) fix for grave bug in aiair.c
From: "Gregory Berkolaiko via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 23 Dec 2002 12:48:10 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, 23 Dec 2002, Per I. Mathisen via RT wrote:

> On Mon, 23 Dec 2002, Gregory Berkolaiko via RT wrote:
> > Mhhh. How come a unit can die on goto?
> 
> It can bump into something. Or get autoattacked ;)

It can't bump into anything, because we are explicitly checking for it 
(ai_move_unit).

It can get autoattacked.  So it will become a bug once the autoattack is 
in.  But not a "grave" one ;)

> Autoattack raises the bar for some of our code. Some sloppy assumptions in
> the code won't hold with it, but they should be fixed anyway.

Right.

G.





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