diff --git a/doc/server.txt b/doc/server.txt index 7942aa7b9..e5c9184d3 100644 --- a/doc/server.txt +++ b/doc/server.txt @@ -149,7 +149,7 @@ sv_calcpings_method:: vastly inaccurate results, depending on client settings. Using improved algorithm is in fact recommended, it should always give stable results similar to ones obtained by the ‘ping’ command line utility. Default value - is 1 for compatibility reasons. + is 2. - 0 — disable ping calculation entirely - 1 — use default ping calculation algorithm based on averaging - 2 — use improved algorithm based on minimum round trip times diff --git a/src/sv_main.c b/src/sv_main.c index 652a82dae..6df0e398c 100644 --- a/src/sv_main.c +++ b/src/sv_main.c @@ -2046,7 +2046,7 @@ void SV_Init(void) sv_pad_packets = Cvar_Get("sv_pad_packets", "0", 0); #endif sv_lan_force_rate = Cvar_Get("sv_lan_force_rate", "0", CVAR_LATCH); - sv_calcpings_method = Cvar_Get("sv_calcpings_method", "1", 0); + sv_calcpings_method = Cvar_Get("sv_calcpings_method", "2", 0); sv_changemapcmd = Cvar_Get("sv_changemapcmd", "", 0); sv_strafejump_hack = Cvar_Get("sv_strafejump_hack", "1", CVAR_LATCH);