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]
Subject: [Freeciv-Dev] Re: (PR#13543) generic_city_refresh not called
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Jul 2005 17:57:18 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Per I. Mathisen wrote:
> <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.

But how do you know which pieces of data you need?

-jason





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