Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] (PR#13539) Re: Re: (PR#13543) generic_city_refresh not cal
Home

[Freeciv-Dev] (PR#13539) Re: Re: (PR#13543) generic_city_refresh not cal

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#13539) Re: Re: (PR#13543) generic_city_refresh not called
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 26 Jul 2005 02:55:15 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13539 >

On Mon, 25 Jul 2005, Jason Short wrote:
> >>The problem is surely that generic_city_refresh (which rebuilds the
> >>cache) is not being called.
> >
> > But this is intentional. Calling generic_city_refresh() here would be too
> > slow. We just add a building, grab exactly those pieces of data we need,
> > remove the building, and then leave the city state exactly as it was
> > before.
>
> But how do you know which pieces of data you need?

I know which pieces of data I ask for. See ai/aicity.c:city_want()

  - Per





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