[freeciv-ai] Re: (PR#2633) ai_military_attack() bug#1
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, 24 Dec 2002, Gregory Berkolaiko via RT wrote:
> The condition was fine!It was
> could_unit_move_to_tile(punit, dest_x, dest_y) == 0
> which reads "could NOT move to tile".
> (Or maybe it could not move because there is enemy there?).
> Anyway, I committed it but then reverted it.This piece of code is very
> confusing, so you really need to explain to me what is happening and what
> should be happening.
Ugh. Yes. Sorry. I got it right the first time (when I wrote this code),
and I definitely should have documented it better.
- [freeciv-ai] Re: (PR#2633) ai_military_attack() bug#1,
Per I. Mathisen via RT <=