From 75e6bcf119724b1d3db26707da856e48802e59b4 Mon Sep 17 00:00:00 2001 From: tma Date: Fri, 23 Nov 2007 00:33:13 +0000 Subject: * (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) git-svn-id: svn://svn.icculus.org/quake3/trunk@1216 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/cvar.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'code/qcommon') 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]; -- cgit v1.2.3