リビジョン | 0f6e065b8fb5ba31bfc31ccc96b491d43e211f99 (tree) |
---|---|
日時 | 2021-12-12 06:34:48 |
作者 | Adam Kaminski <kaminskiadam9@gmai...> |
コミッター | Adam Kaminski |
Disabled the skip correction in the release build for now.
@@ -286,7 +286,7 @@ | ||
286 | 286 | |
287 | 287 | //***************************************************************************** |
288 | 288 | // [AK] Smooths the movement of lagging players using extrapolation and correction. |
289 | -CUSTOM_CVAR( Int, sv_smoothplayers, 0, CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_SERVERINFO ) | |
289 | +CUSTOM_CVAR( Int, sv_smoothplayers, 0, CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_SERVERINFO|CVAR_DEBUGONLY ) | |
290 | 290 | { |
291 | 291 | // [AK] We can't extrapolate for a negative number of tics. |
292 | 292 | if ( self < 0 ) |
@@ -1422,7 +1422,7 @@ | ||
1422 | 1422 | SERVERCOMMANDS_SetCVar( sv_hostname, g_lCurrentClient, SVCF_ONLYTHISCLIENT ); |
1423 | 1423 | |
1424 | 1424 | // [AK] Send the current state of the skip correction. |
1425 | - SERVERCOMMANDS_SetCVar( sv_smoothplayers, g_lCurrentClient, SVCF_ONLYTHISCLIENT ); | |
1425 | + // SERVERCOMMANDS_SetCVar( sv_smoothplayers, g_lCurrentClient, SVCF_ONLYTHISCLIENT ); | |
1426 | 1426 | |
1427 | 1427 | // Send dmflags. |
1428 | 1428 | 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 |