[freeciv-ai] Re: (PR#9033) Infinite loop in ai_manage_ferryboat()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9033 >
On Sun, 20 Jun 2004, Jason Short wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9033 >
>
> Gregory Berkolaiko wrote:
>
> > The bug is now probably impossible to reproduce: before it was due to
> > incorrectly waiting for the passenger that just got off the boat but
> > forgot to release it. Now this forgetfullness is cured in a latest commit.
> >
> > However, the possibility of a loop is still there. So I updated the
> > patch and will commit it today.
>
> Perhaps an assertion would be sufficient.
Assert means that something mustn't happen. But a boat coming to pick up
a passenger while carrying another is something which doesn't happen now
but might be happening one day.
G.
|
|