Complete.Org: Mailing Lists: Archives: freeciv-ai: February 2004:
[freeciv-ai] (PR#6567) AI has too many boats.

[freeciv-ai] (PR#6567) AI has too many boats.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxxx
Subject: [freeciv-ai] (PR#6567) AI has too many boats.
From: "Joshua Hudson" <joshudson@xxxxxxxxxxx>
Date: Thu, 12 Feb 2004 10:03:02 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: >

> 2. Possible infinite loop A:
> A boat has punit->ai.passegner (so it doesn't search for a
> boss, oldboss is never set), but it decides not to move (e.g.
> it is a trireme scared of deep water).

The truth is this can't happen, but might as well check for it.
Trireme scared of deep water will set mp to zero.

> 3. Possible infinite loop B:
> A boat cannot select a boss although it's occupancy is > 0.
Oops, forgot about this one (can't happen in autogames)...

OK, your patch looks good. 

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