Add hack to allow server the setting of game cvar values that are important for playerstate prediction for legacy gamecode.
This commit is contained in:
1 parent
5d24905c8d
commit
3b642f9032
2 files changed
+9
-3
No files matched your search
+1
-1
@@ -629,7 +629,7 @@ void Cvar_SetSafe( const char *var_name, const char *value )
|
||||
{
|
||||
int flags = Cvar_Flags( var_name );
|
||||
|
||||
if( flags != CVAR_NONEXISTENT && flags & CVAR_PROTECTED )
|
||||
if((flags != CVAR_NONEXISTENT) && (flags & CVAR_PROTECTED))
|
||||
{
|
||||
if( value )
|
||||
Com_Error( ERR_DROP, "Restricted source tried to set "
|
||||
|
||||
Reference in new issue
Block a user