[freeciv-ai] (PR#6567) AI has too many boats.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6567 >
> 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.