diff options
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/cvar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/code/qcommon/cvar.c b/code/qcommon/cvar.c index 95a83e1..b484248 100644 --- a/code/qcommon/cvar.c +++ b/code/qcommon/cvar.c @@ -284,6 +284,8 @@ cvar_t *Cvar_Get( const char *var_name, const char *var_value, int flags ) { cvar_vars = var; var->flags = flags; + // note what types of cvars have been modified (userinfo, archive, serverinfo, systeminfo) + cvar_modifiedFlags |= var->flags; hash = generateHashValue(var_name); var->hashNext = hashTable[hash]; |