Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10057) patch to have the server initialize ptile->clie
Home

[Freeciv-Dev] (PR#10057) patch to have the server initialize ptile->clie

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10057) patch to have the server initialize ptile->client.hilite
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 11 Sep 2004 20:01:32 -0700
Reply-to: rt@xxxxxxxxxxx

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

it's nice and allows civworld to behave.

-mike

Index: common/map.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/map.c,v
retrieving revision 1.193
diff -u -r1.193 map.c
--- common/map.c        12 Sep 2004 01:35:59 -0000      1.193
+++ common/map.c        12 Sep 2004 03:00:27 -0000
@@ -369,9 +369,7 @@
   ptile->worked   = NULL; /* pointer to city working tile */
   ptile->assigned = 0; /* bitvector */
   ptile->owner    = NULL; /* Tile not claimed by any nation. */
-  if (!is_server) {
-    ptile->client.hilite = HILITE_NONE; /* Area Selection in client. */
-  }
+  ptile->client.hilite = HILITE_NONE; /* Area Selection in client. */
   ptile->spec_sprite = NULL;
 }




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10057) patch to have the server initialize ptile->client.hilite, Mike Kaufman <=