* Remove silly range check on sv_voip during initialisation
* Changed dedicated binary dedicated cvar to CVAR_INIT and remove runtime check
This commit is contained in:
parent
b601941240
commit
6b572920a9
3 changed files with 1 additions and 13 deletions
|
@ -656,10 +656,6 @@ void SV_Init (void) {
|
|||
sv_pure = Cvar_Get ("sv_pure", "1", CVAR_SYSTEMINFO );
|
||||
#if USE_VOIP
|
||||
sv_voip = Cvar_Get ("sv_voip", "1", CVAR_SYSTEMINFO | CVAR_LATCH);
|
||||
if ( (sv_voip->integer < 0) || (sv_voip->integer > 1) ) {
|
||||
Com_Printf("WARNING: sv_voip must be 0 or 1. Setting to 1.");
|
||||
Cvar_Set ("sv_voip", "1");
|
||||
}
|
||||
#endif
|
||||
Cvar_Get ("sv_paks", "", CVAR_SYSTEMINFO | CVAR_ROM );
|
||||
Cvar_Get ("sv_pakNames", "", CVAR_SYSTEMINFO | CVAR_ROM );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue