r457 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jan 4 16:48:20 EST 2006


Author: tma
Date: 2006-01-04 16:48:20 -0500 (Wed, 04 Jan 2006)
New Revision: 457

Modified:
   trunk/code/client/cl_main.c
Log:
* Only display the g_syncClients warning when it's appropriate


Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2006-01-04 03:40:49 UTC (rev 456)
+++ trunk/code/client/cl_main.c	2006-01-04 21:48:20 UTC (rev 457)
@@ -283,7 +283,7 @@
 	}
 
   // sync 0 doesn't prevent recording, so not forcing it off .. everyone does g_sync 1 ; record ; g_sync 0 ..
-	if ( !Cvar_VariableValue( "g_synchronousClients" ) ) {
+	if ( NET_IsLocalAddress( clc.serverAddress ) && !Cvar_VariableValue( "g_synchronousClients" ) ) {
 		Com_Printf (S_COLOR_YELLOW "WARNING: You should set 'g_synchronousClients 1' for smoother demo recording\n");
 	}
 




More information about the quake3-commits mailing list