From 79d1509407240c0d549843009dba4b37b64c2a9b Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sun, 6 Jan 2008 18:34:29 +0000 Subject: 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. --- source/cl_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/cl_main.c') 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; } -- cgit v1.2.3