Complete.Org: Mailing Lists: Archives: freeciv-ai: April 2003:
[freeciv-ai] Re: Bug in feryboat
Home

[freeciv-ai] Re: Bug in feryboat

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv AI List <freeciv-ai@xxxxxxxxxxx>
Subject: [freeciv-ai] Re: Bug in feryboat
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Mon, 28 Apr 2003 17:06:58 +0000 (GMT)

On Mon, 28 Apr 2003, Jordi Negrevernis i Font wrote:
> unit_list_iterate(map_get_tile(punit->x, punit->y)->units, aunit)
>   if (punit->owner != aunit->owner) {
>     return;
>   }

>   This must be a continue; NOT a return!!!!! I've seen many times a
> transport
>   full of units waiting in my cities without a reason!!! When playing
> with AIDiplomacy.

Yes, quite obviously. Fixed.

Thanks for finding & reporting.

  - Per



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