summaryrefslogtreecommitdiff
path: root/source/cl_main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-01-06 18:34:29 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-01-06 18:34:29 +0000
commit79d1509407240c0d549843009dba4b37b64c2a9b (patch)
tree1b36d35d3add67a082262f7355778dacc371a171 /source/cl_main.c
parent0746f5d59cbf076310feca52581833a7b45f9663 (diff)
Fixed invalid client ID being displayed by `status' command on GTV servers.
Fixed stupid Sys_Sleep bug on Unix systems. Draw `Loading anticheat...' string in connection screen. Added Sys_GetAntiCheatAPI stub into sys_unix.c for testing purposes.
Diffstat (limited to 'source/cl_main.c')
-rw-r--r--source/cl_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cl_main.c b/source/cl_main.c
index 65408d8..81d9d55 100644
--- a/source/cl_main.c
+++ b/source/cl_main.c
@@ -1307,6 +1307,7 @@ static void CL_ConnectionlessPacket( void ) {
MSG_FlushTo( &cls.netchan->message );
cls.netchan->Transmit( cls.netchan, 0, NULL );
S_StopAllSounds();
+ cls.connectCount = -1;
Com_Printf( "Loading anticheat, this may take a few moments...\n" );
SCR_UpdateScreen();
if( !Sys_GetAntiCheatAPI() ) {
@@ -1325,6 +1326,7 @@ static void CL_ConnectionlessPacket( void ) {
CL_ClientCommand( "new" );
cls.state = ca_connected;
cls.messageString[0] = 0;
+ cls.connectCount = 0;
return;
}