aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-05-12 10:49:02 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-05-12 10:49:02 +0000
commit8549e51a13a4fb674f9d65139c2f433c7def13ca (patch)
treeb6bb0dad0b8f8e2152de9b2033925602762c753b /code/qcommon
parent0105de5aeed6816adc5383c14db47a909308be09 (diff)
downloadioquake3-aero-8549e51a13a4fb674f9d65139c2f433c7def13ca.tar.gz
ioquake3-aero-8549e51a13a4fb674f9d65139c2f433c7def13ca.zip
* (bug 3641) Server is left running following a local disconnect
git-svn-id: svn://svn.icculus.org/quake3/trunk@1343 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c
index 7e695db..9dc4b17 100644
--- a/code/qcommon/common.c
+++ b/code/qcommon/common.c
@@ -277,6 +277,7 @@ void QDECL Com_Error( int code, const char *fmt, ... ) {
Cvar_Set("com_errorMessage", com_errorMessage);
if (code == ERR_DISCONNECT || code == ERR_SERVERDISCONNECT) {
+ SV_Shutdown( "Server disconnected" );
CL_Disconnect( qtrue );
VM_Forced_Unload_Start();
CL_FlushMemory( );