r1415 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jul 6 11:47:15 EDT 2008


Author: tma
Date: 2008-07-06 11:47:15 -0400 (Sun, 06 Jul 2008)
New Revision: 1415

Modified:
   trunk/code/client/cl_main.c
Log:
* Don't start UI when starting client binary with +set dedicated 1


Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2008-07-06 10:55:19 UTC (rev 1414)
+++ trunk/code/client/cl_main.c	2008-07-06 15:47:15 UTC (rev 1415)
@@ -1526,10 +1526,6 @@
 	CL_Disconnect( qtrue );
 	Con_Close();
 
-	/* MrE: 2000-09-13: now called in CL_DownloadsComplete
-	CL_FlushMemory( );
-	*/
-
 	Q_strncpyz( cls.servername, server, sizeof(cls.servername) );
 
 	if (!NET_StringToAdr(cls.servername, &clc.serverAddress, family) ) {
@@ -2755,6 +2751,10 @@
 		S_BeginRegistration();
 	}
 
+	if( com_dedicated->integer ) {
+		return;
+	}
+
 	if ( !cls.uiStarted ) {
 		cls.uiStarted = qtrue;
 		CL_InitUI();




More information about the quake3-commits mailing list