This is a fork of Zandronum Beta for TSPG.
Revision | 9fa7a45782c6b26bdfdec07a08293635a51a9c07 (tree) |
---|---|
Time | 2021-12-12 06:34:48 |
Author | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Disabled the skip correction in the release build for now.
@@ -296,7 +296,7 @@ | ||
296 | 296 | |
297 | 297 | //***************************************************************************** |
298 | 298 | // [AK] Smooths the movement of lagging players using extrapolation and correction. |
299 | -CUSTOM_CVAR( Int, sv_smoothplayers, 0, CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_SERVERINFO ) | |
299 | +CUSTOM_CVAR( Int, sv_smoothplayers, 0, CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_SERVERINFO|CVAR_DEBUGONLY ) | |
300 | 300 | { |
301 | 301 | // [AK] We can't extrapolate for a negative number of tics. |
302 | 302 | if ( self < 0 ) |
@@ -1518,7 +1518,7 @@ | ||
1518 | 1518 | SERVERCOMMANDS_SetCVar( sv_hostname, g_lCurrentClient, SVCF_ONLYTHISCLIENT ); |
1519 | 1519 | |
1520 | 1520 | // [AK] Send the current state of the skip correction. |
1521 | - SERVERCOMMANDS_SetCVar( sv_smoothplayers, g_lCurrentClient, SVCF_ONLYTHISCLIENT ); | |
1521 | + // SERVERCOMMANDS_SetCVar( sv_smoothplayers, g_lCurrentClient, SVCF_ONLYTHISCLIENT ); | |
1522 | 1522 | |
1523 | 1523 | // Send dmflags. |
1524 | 1524 | SERVERCOMMANDS_SetGameDMFlags( g_lCurrentClient, SVCF_ONLYTHISCLIENT ); |
@@ -610,7 +610,7 @@ | ||
610 | 610 | Option "Require login to join", "sv_forcelogintojoin", "YesNo" |
611 | 611 | StaticText " " |
612 | 612 | Option "Allow private chat", "sv_allowprivatechat", "ZA_AllowPrivateChat" |
613 | - Option "Smooth lagging players", "sv_smoothplayers", "ZA_ExtrapolateLimit" | |
613 | + // Option "Smooth lagging players", "sv_smoothplayers", "ZA_ExtrapolateLimit" | |
614 | 614 | NumberField "Max connected clients", "sv_maxclients", 0, 64 |
615 | 615 | NumberField "Max players", "sv_maxplayers", 0, 64 |
616 | 616 | NumberField "Max idle time (minutes)", "sv_afk2spec", 0, 30 |