Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] (PR#13340) Owner change and happyborders
Home

[Freeciv-Dev] (PR#13340) Owner change and happyborders

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13340) Owner change and happyborders
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Sun, 26 Jun 2005 05:13:50 -0700
Reply-to: bugs@xxxxxxxxxxx

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

> [per - Sun Jun 26 11:58:12 2005]:
> 
> On Sun, 26 Jun 2005, Mateusz Stefek wrote:
> > When a tile changes it's we have to update happiness in all homecities
> > of units standing on the tile.
> >
> > This is an inefficient patch.
> > How can I (easily) prevent refreshing same city many times ?
> 
> Set pcity->server.needs_arrange for each city and refresh the appropriate
> cities afterwards.
> 
>   - Per
city.server.needs_arrange looks like something internal for
autoarrange_workers() - don't understand this much.
I could use city.synced, however this is intended to mean only that the
city should be sent by send_city_info().
--
mateusz



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