diff options
author | Tim Angus <tim@ngus.net> | 2006-02-28 23:11:58 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-02-28 23:11:58 +0000 |
commit | 3ced489436f10c94c37a02103c3be535bf65a14a (patch) | |
tree | b123b483be5806eadbbdcc4dff786c95eb23f5c9 /src/qcommon | |
parent | b3cd0a8f2b4610787ff5f8cf0147d36b6eb52c18 (diff) |
* Merged ioq3-r594
- OpenAL fixes
- SV_Shutdown message fixes
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qcommon/common.c b/src/qcommon/common.c index 15f36f00..5c3726ff 100644 --- a/src/qcommon/common.c +++ b/src/qcommon/common.c @@ -283,13 +283,13 @@ void QDECL Com_Error( int code, const char *fmt, ... ) { longjmp (abortframe, -1); } else if ( code == ERR_DROP || code == ERR_DISCONNECT ) { Com_Printf ("********************\nERROR: %s\n********************\n", com_errorMessage); - SV_Shutdown (va("Server crashed: %s\n", com_errorMessage)); + SV_Shutdown (va("Server crashed: %s", com_errorMessage)); CL_Disconnect( qtrue ); CL_FlushMemory( ); com_errorEntered = qfalse; longjmp (abortframe, -1); } else if ( code == ERR_NEED_CD ) { - SV_Shutdown( "Server didn't have CD\n" ); + SV_Shutdown( "Server didn't have CD" ); if ( com_cl_running && com_cl_running->integer ) { CL_Disconnect( qtrue ); CL_FlushMemory( ); @@ -301,7 +301,7 @@ void QDECL Com_Error( int code, const char *fmt, ... ) { longjmp (abortframe, -1); } else { CL_Shutdown (); - SV_Shutdown (va("Server fatal crashed: %s\n", com_errorMessage)); + SV_Shutdown (va("Server fatal crashed: %s", com_errorMessage)); } Com_Shutdown (); @@ -321,7 +321,7 @@ do the apropriate things. void Com_Quit_f( void ) { // don't try to shutdown if we are in a recursive error if ( !com_errorEntered ) { - SV_Shutdown ("Server quit\n"); + SV_Shutdown ("Server quit"); CL_Shutdown (); Com_Shutdown (); FS_Shutdown(qtrue); |