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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jan 25 11:18:49 EST 2011


Author: thilo
Date: 2011-01-25 11:18:49 -0500 (Tue, 25 Jan 2011)
New Revision: 1818

Modified:
   trunk/code/qcommon/common.c
Log:
Make sure com_developer global var gets written right after developer has been read from cmd line


Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c	2011-01-25 15:16:50 UTC (rev 1817)
+++ trunk/code/qcommon/common.c	2011-01-25 16:18:49 UTC (rev 1818)
@@ -2665,6 +2665,7 @@
 
 	// get the developer cvar set as early as possible
 	Com_StartupVariable( "developer" );
+	com_developer = Cvar_Get("developer", "0", CVAR_TEMP);
 
 	// done early so bind command exists
 	CL_InitKeyCommands();
@@ -2714,7 +2715,6 @@
 	com_maxfps = Cvar_Get ("com_maxfps", "85", CVAR_ARCHIVE);
 	com_blood = Cvar_Get ("com_blood", "1", CVAR_ARCHIVE);
 
-	com_developer = Cvar_Get ("developer", "0", CVAR_TEMP );
 	com_logfile = Cvar_Get ("logfile", "0", CVAR_TEMP );
 
 	com_timescale = Cvar_Get ("timescale", "1", CVAR_CHEAT | CVAR_SYSTEMINFO );



More information about the quake3-commits mailing list