mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
Remove sv_strictAuth cvar for STANDALONE games
This commit is contained in:
parent
b97a7e2583
commit
50721a6580
3 changed files with 6 additions and 0 deletions
|
@ -274,7 +274,9 @@ extern cvar_t *sv_gametype;
|
||||||
extern cvar_t *sv_pure;
|
extern cvar_t *sv_pure;
|
||||||
extern cvar_t *sv_floodProtect;
|
extern cvar_t *sv_floodProtect;
|
||||||
extern cvar_t *sv_lanForceRate;
|
extern cvar_t *sv_lanForceRate;
|
||||||
|
#ifndef STANDALONE
|
||||||
extern cvar_t *sv_strictAuth;
|
extern cvar_t *sv_strictAuth;
|
||||||
|
#endif
|
||||||
extern cvar_t *sv_banFile;
|
extern cvar_t *sv_banFile;
|
||||||
extern cvar_t *sv_heartbeat;
|
extern cvar_t *sv_heartbeat;
|
||||||
extern cvar_t *sv_flatline;
|
extern cvar_t *sv_flatline;
|
||||||
|
|
|
@ -681,7 +681,9 @@ void SV_Init (void)
|
||||||
sv_killserver = Cvar_Get ("sv_killserver", "0", 0);
|
sv_killserver = Cvar_Get ("sv_killserver", "0", 0);
|
||||||
sv_mapChecksum = Cvar_Get ("sv_mapChecksum", "", CVAR_ROM);
|
sv_mapChecksum = Cvar_Get ("sv_mapChecksum", "", CVAR_ROM);
|
||||||
sv_lanForceRate = Cvar_Get ("sv_lanForceRate", "1", CVAR_ARCHIVE );
|
sv_lanForceRate = Cvar_Get ("sv_lanForceRate", "1", CVAR_ARCHIVE );
|
||||||
|
#ifndef STANDALONE
|
||||||
sv_strictAuth = Cvar_Get ("sv_strictAuth", "1", CVAR_ARCHIVE );
|
sv_strictAuth = Cvar_Get ("sv_strictAuth", "1", CVAR_ARCHIVE );
|
||||||
|
#endif
|
||||||
sv_banFile = Cvar_Get("sv_banFile", "serverbans.dat", CVAR_ARCHIVE);
|
sv_banFile = Cvar_Get("sv_banFile", "serverbans.dat", CVAR_ARCHIVE);
|
||||||
sv_heartbeat = Cvar_Get("sv_heartbeat", HEARTBEAT_FOR_MASTER, CVAR_INIT);
|
sv_heartbeat = Cvar_Get("sv_heartbeat", HEARTBEAT_FOR_MASTER, CVAR_INIT);
|
||||||
sv_flatline = Cvar_Get("sv_flatline", FLATLINE_FOR_MASTER, CVAR_INIT);
|
sv_flatline = Cvar_Get("sv_flatline", FLATLINE_FOR_MASTER, CVAR_INIT);
|
||||||
|
|
|
@ -56,7 +56,9 @@ cvar_t *sv_gametype;
|
||||||
cvar_t *sv_pure;
|
cvar_t *sv_pure;
|
||||||
cvar_t *sv_floodProtect;
|
cvar_t *sv_floodProtect;
|
||||||
cvar_t *sv_lanForceRate; // dedicated 1 (LAN) server forces local client rates to 99999 (bug #491)
|
cvar_t *sv_lanForceRate; // dedicated 1 (LAN) server forces local client rates to 99999 (bug #491)
|
||||||
|
#ifndef STANDALONE
|
||||||
cvar_t *sv_strictAuth;
|
cvar_t *sv_strictAuth;
|
||||||
|
#endif
|
||||||
cvar_t *sv_banFile;
|
cvar_t *sv_banFile;
|
||||||
cvar_t *sv_heartbeat; // Heartbeat string that is sent to the master
|
cvar_t *sv_heartbeat; // Heartbeat string that is sent to the master
|
||||||
cvar_t *sv_flatline; // If the master server supports it we can send a flatline
|
cvar_t *sv_flatline; // If the master server supports it we can send a flatline
|
||||||
|
|
Loading…
Reference in a new issue