|
|
@ -769,21 +769,12 @@ static qboolean Cvar_ShouldSetCvar( convar_t *v, qboolean isPrivileged ) |
|
|
|
if( isPrivileged ) |
|
|
|
if( isPrivileged ) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
// TODO: figure this out
|
|
|
|
if( v->flags & FCVAR_LOCALONLY ) |
|
|
|
//if( v->flags & FCVAR_SERVER )
|
|
|
|
return false; |
|
|
|
// return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( cl_filterstuffcmd.value <= 0.0f ) |
|
|
|
if( cl_filterstuffcmd.value <= 0.0f ) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
// TODO: figure this out too
|
|
|
|
|
|
|
|
//if( v->flags & FCVAR_EXTDLL )
|
|
|
|
|
|
|
|
// return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// a1ba: xash3d-fwgs extension
|
|
|
|
|
|
|
|
if( v->flags & FCVAR_LOCALONLY ) |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for( i = 0; i < ARRAYSIZE( prefixes ); i++ ) |
|
|
|
for( i = 0; i < ARRAYSIZE( prefixes ); i++ ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if( Q_stricmp( v->name, prefixes[i] )) |
|
|
|
if( Q_stricmp( v->name, prefixes[i] )) |
|
|
|