aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-06 10:55:19 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-07-06 10:55:19 +0000
commit2cdb110702c31af707e613f8503e8129a80f703d (patch)
tree5cf4b4e42b53c7b413aa191c76c60db8184c1e97 /code/client
parent17268376390c0ecb653e6cdecfdb8031e12c557b (diff)
downloadioquake3-aero-2cdb110702c31af707e613f8503e8129a80f703d.tar.gz
ioquake3-aero-2cdb110702c31af707e613f8503e8129a80f703d.zip
* Fix killserver command for client binary based dedicated server
git-svn-id: svn://svn.icculus.org/quake3/trunk@1414 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r--code/client/cl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 98b8644..21a56f6 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -2552,7 +2552,7 @@ void CL_Frame ( int msec ) {
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 );