Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2005:
[Freeciv-Dev] (PR#14001) Remove is-info from packet_ruleset_nation
Home

[Freeciv-Dev] (PR#14001) Remove is-info from packet_ruleset_nation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14001) Remove is-info from packet_ruleset_nation
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Sat, 17 Sep 2005 01:48:41 -0700
Reply-to: bugs@xxxxxxxxxxx

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

My recent commit revealed the problem with ruleset nation:
When the server reads a saved game it sends ruleset information twice.
In between this the client clears nation structs and this leads to
strange behaviour.
The attached patch removes no-info from packet_ruleset_nation.
--
mateusz
Index: common/packets.def
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/packets.def,v
retrieving revision 1.156
diff -u -r1.156 packets.def
--- common/packets.def  16 Sep 2005 08:29:15 -0000      1.156
+++ common/packets.def  17 Sep 2005 08:46:53 -0000
@@ -1159,7 +1159,7 @@
   UINT8 fallout_tile_penalty[O_MAX]; /* % taken from output if polluted */
 end
 
-PACKET_RULESET_NATION=102;sc,lsend,is-info
+PACKET_RULESET_NATION=102;sc,lsend
   NATION id; key
 
   STRING name[MAX_LEN_NAME];

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14001) Remove is-info from packet_ruleset_nation, Mateusz Stefek <=