Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#9864) Terrain under cities changes during save+loa
Home

[Freeciv-Dev] Re: (PR#9864) Terrain under cities changes during save+loa

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#9864) Terrain under cities changes during save+load
From: "Marko Lindqvist" <marko.lindqvist@xxxxxxxxxxx>
Date: Mon, 13 Sep 2004 08:04:29 -0700
Reply-to: rt@xxxxxxxxxxx

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

Jason Short wrote:
> It looks to me like in the current code, if borders information changes 
> then the playermap will be erronously updated.  Is this true?  It's 
> surely a bug, of course.

  send_tile_info() updates player_tile only if map_is_known_and_seen().

  Tile owner information itself is sent to everybody knowing the tile, 
even if it's fogged. It's not even part of player_tile as 
player_tile.owner would never differ from real_tile.owner. This is a 
rule (ie feature), not a bug. Both keeping it as it is, or changing it 
is okay with me.


  - Caz




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