* (bug 3420) Don't respect sv_killserver unless a server is actually running

* (bug 3431) USERINFO cvars created in cg_main not getting sent (arQon)
This commit is contained in:
Tim Angus 2007-11-23 00:33:13 +00:00
parent f2f8e73d58
commit 3f3e1a51a1
3 changed files with 7 additions and 1 deletions

View file

@ -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];