• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

This is a fork of Zandronum Beta for TSPG.


Commit MetaInfo

Revision9fa7a45782c6b26bdfdec07a08293635a51a9c07 (tree)
Time2021-12-12 06:34:48
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Disabled the skip correction in the release build for now.

Change Summary

Incremental Difference

diff -r 7e0a46587fd0 -r 9fa7a45782c6 src/sv_main.cpp
--- a/src/sv_main.cpp Mon Dec 13 09:55:44 2021 +1100
+++ b/src/sv_main.cpp Sat Dec 11 16:34:48 2021 -0500
@@ -296,7 +296,7 @@
296296
297297 //*****************************************************************************
298298 // [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 )
300300 {
301301 // [AK] We can't extrapolate for a negative number of tics.
302302 if ( self < 0 )
@@ -1518,7 +1518,7 @@
15181518 SERVERCOMMANDS_SetCVar( sv_hostname, g_lCurrentClient, SVCF_ONLYTHISCLIENT );
15191519
15201520 // [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 );
15221522
15231523 // Send dmflags.
15241524 SERVERCOMMANDS_SetGameDMFlags( g_lCurrentClient, SVCF_ONLYTHISCLIENT );
diff -r 7e0a46587fd0 -r 9fa7a45782c6 wadsrc/static/menudef.za
--- a/wadsrc/static/menudef.za Mon Dec 13 09:55:44 2021 +1100
+++ b/wadsrc/static/menudef.za Sat Dec 11 16:34:48 2021 -0500
@@ -610,7 +610,7 @@
610610 Option "Require login to join", "sv_forcelogintojoin", "YesNo"
611611 StaticText " "
612612 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"
614614 NumberField "Max connected clients", "sv_maxclients", 0, 64
615615 NumberField "Max players", "sv_maxplayers", 0, 64
616616 NumberField "Max idle time (minutes)", "sv_afk2spec", 0, 30