Complete.Org: Mailing Lists: Archives: freeciv-ai: June 2004:
[freeciv-ai] Re: (PR#9033) Infinite loop in ai_manage_ferryboat()

[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]
To: use_less@xxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#9033) Infinite loop in ai_manage_ferryboat()
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxxx>
Date: Sun, 20 Jun 2004 07:31:48 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: >

On Sun, 20 Jun 2004, Jason Short wrote:

> <URL: >
> 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.


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