• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

This is a fork of Zandronum Beta for TSPG.


Commit MetaInfo

Revision9afecc3eee654afc833414bc66bad352041844f8 (tree)
Time2021-09-29 23:15:50
AuthorJoshua Surace <doomjoshuaboy@gmai...>
CommiterJoshua Surace

Log Message

Fixed Compile error again

Change Summary

Incremental Difference

diff -r e538cc2e46c2 -r 9afecc3eee65 src/sv_main.cpp
--- a/src/sv_main.cpp Wed Sep 29 23:18:58 2021 +1000
+++ b/src/sv_main.cpp Thu Sep 30 00:15:50 2021 +1000
@@ -288,17 +288,11 @@
288288 CVAR( Bool, sv_forcelogintojoin, false, CVAR_ARCHIVE|CVAR_NOSETBYACS )
289289 CVAR( Bool, sv_useticbuffer, true, CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_DEBUGONLY )
290290 CVAR( Int, sv_showcommands, 0, CVAR_ARCHIVE|CVAR_DEBUGONLY )
291-CVAR( Bool, sv_logticbufferdebuginfo, false, CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_DEBUGONLY )
292291
293292 CVAR( String, tspg_branding_name, "The Sentinel's Playground", CVAR_SERVERINFO|TSPG_NOSET );
294293 CVAR( String, tspg_branding_short, "TSPG", CVAR_SERVERINFO|TSPG_NOSET );
295294 CVAR( String, tspg_branding_url, "https://allfearthesentinel.net", CVAR_SERVERINFO|TSPG_NOSET );
296295
297-// [TSPG]
298-#if defined( SERVER_ONLY ) && defined( SERVER_BLACKLIST )
299-CUSTOM_CVAR( String, sv_adminlistfile, "adminlist.txt", CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_NOSET )
300-#else
301-#endif
302296 //*****************************************************************************
303297 // [AK] Smooths the movement of lagging players using extrapolation and correction.
304298 CUSTOM_CVAR( Bool, sv_smoothplayers, false, CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_SERVERINFO )
@@ -337,7 +331,12 @@
337331 self = 0;
338332 }
339333
340-CUSTOM_CVAR( String, sv_adminlistfile, "adminlist.txt", CVAR_ARCHIVE|CVAR_SENSITIVESERVERSETTING|CVAR_NOSETBYACS )
334+// [TSPG]
335+#if defined( SERVER_ONLY ) && defined( SERVER_BLACKLIST )
336+CUSTOM_CVAR( String, sv_adminlistfile, "adminlist.txt", CVAR_ARCHIVE|CVAR_NOSETBYACS|CVAR_NOSET )
337+#else
338+CUSTOM_CVAR( String, sv_adminlistfile, "adminlist.txt", CVAR_ARCHIVE|CVAR_SENSITIVESERVERSETTING|CVAR_NOSETBYACS)
339+#endif
341340 {
342341 if ( NETWORK_GetState( ) != NETSTATE_SERVER )
343342 return;