Author: cazfi Date: Thu Apr 28 15:42:08 2016 New Revision: 32516 URL: http://svn.gna.org/viewcvs/freeciv?rev=32516&view=rev Log: Made illness rules related network protocol fields wide enough to hold their maximum values.
Reported by fomalhaut See bug #24607 Modified: trunk/common/packets.def trunk/fc_version Modified: trunk/common/packets.def URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/packets.def?rev=32516&r1=32515&r2=32516&view=diff ============================================================================== --- trunk/common/packets.def (original) +++ trunk/common/packets.def Thu Apr 28 15:42:08 2016 @@ -496,11 +496,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: trunk/fc_version URL: http://svn.gna.org/viewcvs/freeciv/trunk/fc_version?rev=32516&r1=32515&r2=32516&view=diff ============================================================================== --- trunk/fc_version (original) +++ trunk/fc_version Thu Apr 28 15:42:08 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-3.0-2016.Apr.27" +NETWORK_CAPSTRING_MANDATORY="+Freeciv.Devel-3.0-2016.Apr.28" NETWORK_CAPSTRING_OPTIONAL="" FREECIV_DISTRIBUTOR="" _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits