Author: cazfi
Date: Thu Apr 28 15:42:28 2016
New Revision: 32517

URL: http://svn.gna.org/viewcvs/freeciv?rev=32517&view=rev
Log:
Made illness rules related network protocol fields wide enough to hold their 
maximum values.

Reported by fomalhaut

See bug #24607

Modified:
    branches/S2_6/common/packets.def
    branches/S2_6/fc_version

Modified: branches/S2_6/common/packets.def
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/packets.def?rev=32517&r1=32516&r2=32517&view=diff
==============================================================================
--- branches/S2_6/common/packets.def    (original)
+++ branches/S2_6/common/packets.def    Thu Apr 28 15:42:28 2016
@@ -485,11 +485,11 @@
   UINT8 happy_cost;
   HAPPYBORDERSTYPE happyborders;
   UINT32 heating;
-  UINT8 illness_base_factor;
+  UINT16 illness_base_factor;
   UINT8 illness_min_size;
   BOOL illness_on;
-  UINT8 illness_pollution_factor;
-  UINT8 illness_trade_infection;
+  UINT16 illness_pollution_factor;
+  UINT16 illness_trade_infection;
   UINT8 init_city_radius_sq;
   /* If set, editing is allowed */
   BOOL is_edit_mode;

Modified: branches/S2_6/fc_version
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/fc_version?rev=32517&r1=32516&r2=32517&view=diff
==============================================================================
--- branches/S2_6/fc_version    (original)
+++ branches/S2_6/fc_version    Thu Apr 28 15:42:28 2016
@@ -55,7 +55,7 @@
 #   - Avoid adding a new mandatory capability to the development branch for
 #     as long as possible.  We want to maintain network compatibility with
 #     the stable branch for as long as possible.
-NETWORK_CAPSTRING_MANDATORY="+Freeciv.Devel-2.6-2016.Apr.27"
+NETWORK_CAPSTRING_MANDATORY="+Freeciv.Devel-2.6-2016.Apr.28"
 NETWORK_CAPSTRING_OPTIONAL=""
 
 FREECIV_DISTRIBUTOR=""


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to