[quake3-commits] r1757 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Dec 18 16:57:56 EST 2009


Author: tma
Date: 2009-12-18 16:57:56 -0500 (Fri, 18 Dec 2009)
New Revision: 1757

Modified:
   trunk/code/qcommon/cvar.c
Log:
* (bug #4369)  Cvar modified flags are not updated in Cvar_Get (Lakitu7)

Modified: trunk/code/qcommon/cvar.c
===================================================================
--- trunk/code/qcommon/cvar.c	2009-12-18 21:52:36 UTC (rev 1756)
+++ trunk/code/qcommon/cvar.c	2009-12-18 21:57:56 UTC (rev 1757)
@@ -382,12 +382,12 @@
 			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;
 	}
 



More information about the quake3-commits mailing list