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

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

[Top] [All Lists]

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

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

On Mon, 25 Jul 2005, Jason Short wrote:
> Define the CITY_DEBUGGING macro in city.c (near the top) and run an
> autogame.Eventually the assertion will fail.  This crash is from
> current cvs with the attached autogame.
>
> 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.

  - Per





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