Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11154) client has unrefreshed cities
Home

[Freeciv-Dev] (PR#11154) client has unrefreshed cities

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11154) client has unrefreshed cities
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Nov 2004 21:05:43 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11154 >

When cm_query_result is called on a city by the *client*, it is 
sometimes called on an unrefreshed city.  In this case 
pcity->science_bonus == 100, instead of having the correct value. 
Calling generic_city_refresh at the start of cm_query_result seems to 
fix it but there should be a better way.

jason





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