mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* (bug #4369) Cvar modified flags are not updated in Cvar_Get (Lakitu7)
This commit is contained in:
parent
af4e46bfe2
commit
fa2a698aa3
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue