r1414 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jul 6 06:55:19 EDT 2008


Author: tma
Date: 2008-07-06 06:55:19 -0400 (Sun, 06 Jul 2008)
New Revision: 1414

Modified:
   trunk/code/client/cl_main.c
Log:
* Fix killserver command for client binary based dedicated server


Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2008-07-06 04:23:13 UTC (rev 1413)
+++ trunk/code/client/cl_main.c	2008-07-06 10:55:19 UTC (rev 1414)
@@ -2552,7 +2552,7 @@
 		cls.cddialog = qfalse;
 		VM_Call( uivm, UI_SET_ACTIVE_MENU, UIMENU_NEED_CD );
 	} else	if ( cls.state == CA_DISCONNECTED && !( Key_GetCatcher( ) & KEYCATCH_UI )
-		&& !com_sv_running->integer ) {
+		&& !com_sv_running->integer && uivm ) {
 		// if disconnected, bring up the menu
 		S_StopAllSounds();
 		VM_Call( uivm, UI_SET_ACTIVE_MENU, UIMENU_MAIN );




More information about the quake3-commits mailing list