Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] (PR#14270) Our city style should not be hidden
Home

[Freeciv-Dev] (PR#14270) Our city style should not be hidden

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14270) Our city style should not be hidden
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Tue, 11 Oct 2005 13:45:50 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Your opponents' city styles don't update on your map if you don't have
embassy with them. This looks just silly.
Here's a patch.
--
mateusz
Index: server/plrhand.c
===================================================================
--- server/plrhand.c    (revision 11101)
+++ server/plrhand.c    (working copy)
@@ -887,7 +887,7 @@
   packet->is_male=plr->is_male;
   packet->team = plr->team ? plr->team->index : -1;
   packet->is_ready = plr->is_ready;
-  packet->city_style=plr->city_style;
+  packet->city_style = get_player_city_style(plr);
 
   packet->is_alive=plr->is_alive;
   packet->is_connected=plr->is_connected;

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14270) Our city style should not be hidden, Mateusz Stefek <=