From 41dbd48f721f3489e4ca162fc14484d13c57d53c Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Tue, 9 Aug 2011 12:19:27 +0000 Subject: Add hack to allow server the setting of game cvar values that are important for playerstate prediction for legacy gamecode. --- src/qcommon/cvar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcommon') diff --git a/src/qcommon/cvar.c b/src/qcommon/cvar.c index f4aaf60c..0954e1f6 100644 --- a/src/qcommon/cvar.c +++ b/src/qcommon/cvar.c @@ -630,7 +630,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 " -- cgit