diff options
author | Andrey Nazarov <skuller@skuller.net> | 2011-02-23 19:29:06 +0300 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2011-02-23 19:29:06 +0300 |
commit | bde7623f497b9624585db62a40459f096a307c1e (patch) | |
tree | 65a2e6e49aa20fde57bbe865771e1c709ebe8ccb /src/common.c | |
parent | e7b4367c5b243d9210fbd5df957fce6623dc40f0 (diff) |
Make CL_Disconnect receive only error type as an argument.
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.c b/src/common.c index 5b40fed..d48dd01 100644 --- a/src/common.c +++ b/src/common.c @@ -480,7 +480,7 @@ void Com_Error( error_type_t code, const char *fmt, ... ) { Com_WPrintf( "%s\n", com_errorMsg ); SV_Shutdown( va( "Server was killed: %s", com_errorMsg ), code ); #if USE_CLIENT - CL_Disconnect( code, com_errorMsg ); + CL_Disconnect( code ); #endif goto abort; } @@ -502,7 +502,7 @@ void Com_Error( error_type_t code, const char *fmt, ... ) { "********************\n", com_errorMsg ); SV_Shutdown( va( "Server crashed: %s\n", com_errorMsg ), ERR_DROP ); #if USE_CLIENT - CL_Disconnect( ERR_DROP, com_errorMsg ); + CL_Disconnect( ERR_DROP ); #endif goto abort; } |