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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mstefek@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13340) Owner change and happyborders
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sun, 26 Jun 2005 04:58:12 -0700
Reply-to: bugs@xxxxxxxxxxx

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

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





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