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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Feb 8 14:51:44 EST 2011


Author: thilo
Date: 2011-02-08 14:51:43 -0500 (Tue, 08 Feb 2011)
New Revision: 1876

Modified:
   trunk/code/qcommon/common.c
Log:
Cleanup STANDALONE


Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c	2011-02-08 18:38:29 UTC (rev 1875)
+++ trunk/code/qcommon/common.c	2011-02-08 19:51:43 UTC (rev 1876)
@@ -2794,7 +2794,7 @@
 ===============
 */
 void Com_WriteConfiguration( void ) {
-#ifndef DEDICATED
+#if !defined(DEDICATED) && !defined(STANDALONE)
 	cvar_t	*fs;
 #endif
 	// if we are quiting without fully initializing, make sure
@@ -2810,10 +2810,10 @@
 
 	Com_WriteConfigToFile( Q3CONFIG_CFG );
 
-	// not needed for dedicated
-#ifndef DEDICATED
+	// not needed for dedicated or standalone
+#if !defined(DEDICATED) && !defined(STANDALONE)
 	fs = Cvar_Get ("fs_game", "", CVAR_INIT|CVAR_SYSTEMINFO );
-#ifndef STANDALONE
+
 	if(!com_standalone->integer)
 	{
 		if (UI_usesUniqueCDKey() && fs && fs->string[0] != 0) {
@@ -2823,7 +2823,6 @@
 		}
 	}
 #endif
-#endif
 }
 
 



More information about the quake3-commits mailing list