aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-06 15:47:15 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-06 15:47:15 +0000
commit66791ca8dd5b854f0f31d6a83f8e5552eec88545 (patch)
treec4a5f98696b93968dae9c35ecfc25dcd5dc06782 /code/client
parent2cdb110702c31af707e613f8503e8129a80f703d (diff)
downloadioquake3-aero-66791ca8dd5b854f0f31d6a83f8e5552eec88545.tar.gz
ioquake3-aero-66791ca8dd5b854f0f31d6a83f8e5552eec88545.zip
* Don't start UI when starting client binary with +set dedicated 1
git-svn-id: svn://svn.icculus.org/quake3/trunk@1415 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r--code/client/cl_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 21a56f6..2d3a2d4 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -1526,10 +1526,6 @@ void CL_Connect_f( void ) {
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 @@ void CL_StartHunkUsers( qboolean rendererOnly ) {
S_BeginRegistration();
}
+ if( com_dedicated->integer ) {
+ return;
+ }
+
if ( !cls.uiStarted ) {
cls.uiStarted = qtrue;
CL_InitUI();