Complete.Org: Mailing Lists: Archives: freeciv-ai: September 2004:
[freeciv-ai] Re: Bug: infinite recursion in settler.c
Home

[freeciv-ai] Re: Bug: infinite recursion in settler.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jordi Negrevernis i Font <jorneg@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: Bug: infinite recursion in settler.c
From: Per Inge Mathisen <per@xxxxxxxxxxx>
Date: Sun, 5 Sep 2004 20:31:50 +0000 (GMT)

On Sun, 5 Sep 2004, Jordi Negrevernis i Font wrote:
>   In 'auto_settler_findwork' the last line of the function can make a
> recursion.
>
>   In current cvs is usual to see 'could not make city on (x,y)
> grassland'... So the code attempts to select another location and
> recurses to cuild that city.
>
>   So, an easy fix is to place a flag as a parameter in
> 'auto_settler_findwork', or investigate what fails in 'ai_do_build_city'.

Could you investigate this? I don't see this error.

  - Per



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