From 814ceb1a8a105beab9a461cb56700593ed4964cc Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 28 Aug 2022 18:50:50 +0300 Subject: [PATCH 57/57] Reduce ping time accuracy Support bigger values instead. See osdn #45499 Signed-off-by: Marko Lindqvist --- common/networking/packets.def | 4 ++-- fc_version | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/networking/packets.def b/common/networking/packets.def index 062e8a43a9..8bdd1a1c1e 100644 --- a/common/networking/packets.def +++ b/common/networking/packets.def @@ -182,7 +182,7 @@ Syntax: # typedefs for numbers type BOOL = bool8(bool) type SFLOAT10x3 = sfloat100(float) -type SFLOAT10x7 = sfloat1000000(float) +type SFLOAT10x6 = sfloat100000(float) type SINT8 = sint8(int) type SINT16 = sint16(int) type SINT32 = sint32(int) @@ -1272,7 +1272,7 @@ end PACKET_CONN_PING_INFO = 116; sc, lsend UINT8 connections; CONNECTION conn_id[MAX_NUM_CONNECTIONS:connections]; - SFLOAT10x7 ping_time[MAX_NUM_CONNECTIONS:connections]; + SFLOAT10x6 ping_time[MAX_NUM_CONNECTIONS:connections]; end # For compatibility with older versions, this number cannot be changed. diff --git a/fc_version b/fc_version index 9a6197e10a..0cdf25ffbb 100755 --- a/fc_version +++ b/fc_version @@ -60,7 +60,7 @@ DEFAULT_FOLLOW_TAG=S3_2 # - No new mandatory capabilities can be added to the release branch; doing # so would break network capability of supposedly "compatible" releases. # -NETWORK_CAPSTRING="+Freeciv.Devel-3.2-2022.Aug.28" +NETWORK_CAPSTRING="+Freeciv.Devel-3.2-2022.Aug.28b" FREECIV_DISTRIBUTOR="" -- 2.35.1