diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-10-17 08:19:49 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-10-17 08:19:49 +0000 |
commit | 24ea5c3d91c6aec73b8ef9633bf5a12146055c42 (patch) | |
tree | e3ef9d167548c8443082336e54a03d28b3502773 /source/cl_main.c | |
parent | 58c8e2e0377eddcae7f44d30b78578fbedf0eaa7 (diff) |
Added `mvd_stats_score' variable.
Do not change gamedir when parsing MVD stream.
Added `--replace' argument to `mvdplay' command.
Typing `demo <something.mvd2>' in client console will replace
any currenly playing MVD with the new demo, just like it happens
with regular demos.
Export number of active MVD channels into server info.
Updated documentation.
Diffstat (limited to 'source/cl_main.c')
-rw-r--r-- | source/cl_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/cl_main.c b/source/cl_main.c index 8d2da00..2b0276d 100644 --- a/source/cl_main.c +++ b/source/cl_main.c @@ -638,9 +638,7 @@ void CL_Disconnect( comErrorType_t type, const char *text ) { MSG_WriteByte( clc_stringcmd ); MSG_WriteData( "disconnect", 11 ); - cls.netchan->Transmit( cls.netchan, msg_write.cursize, msg_write.data ); - cls.netchan->Transmit( cls.netchan, msg_write.cursize, msg_write.data ); - cls.netchan->Transmit( cls.netchan, msg_write.cursize, msg_write.data ); + cls.netchan->Transmit( cls.netchan, msg_write.cursize, msg_write.data, 3 ); SZ_Clear( &msg_write ); @@ -1351,7 +1349,7 @@ static void CL_ConnectionlessPacket( void ) { if( anticheat ) { MSG_WriteByte( clc_nop ); MSG_FlushTo( &cls.netchan->message ); - cls.netchan->Transmit( cls.netchan, 0, NULL ); + cls.netchan->Transmit( cls.netchan, 0, NULL, 3 ); S_StopAllSounds(); cls.connect_count = -1; Com_Printf( "Loading anticheat, this may take a few moments...\n" ); |