* (bug #4369) Cvar modified flags are not updated in Cvar_Get (Lakitu7)
This commit is contained in:
1 parent
af4e46bfe2
commit
fa2a698aa3
1 file changed
+4
-4
+4
-4
@@ -382,12 +382,12 @@ cvar_t *Cvar_Get( const char *var_name, const char *var_value, int flags ) {
|
||||
var->latchedString = NULL; // otherwise cvar_set2 would free it
|
||||
Cvar_Set2( var_name, s, qtrue );
|
||||
Z_Free( s );
|
||||
|
||||
// ZOID--needs to be set so that cvars the game sets as
|
||||
// SERVERINFO get sent to clients
|
||||
cvar_modifiedFlags |= flags;
|
||||
}
|
||||
|
||||
// ZOID--needs to be set so that cvars the game sets as
|
||||
// SERVERINFO get sent to clients
|
||||
cvar_modifiedFlags |= flags;
|
||||
|
||||
return var;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user