- Added SV_Shutdown to Linux signal handler to ensure that clients don't hang when server gets killed, as suggested by Tony J. White

- Added newline to final message sent to clients.
- Added check for whether client is running at all before CL_Shutdown runs through.
This commit is contained in:
Thilo Schulz 2006-05-04 13:59:58 +00:00
parent 2583351211
commit 1847c321f0
3 changed files with 6 additions and 1 deletions

View file

@ -2564,6 +2564,10 @@ CL_Shutdown
void CL_Shutdown( void ) {
static qboolean recursive = qfalse;
// check whether the client is running at all.
if(!(com_cl_running && com_cl_running->integer))
return;
Com_Printf( "----- CL_Shutdown -----\n" );
if ( recursive ) {