aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-04 21:48:20 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-04 21:48:20 +0000
commit1ed84e9be39af8caaf3f49e4de5735d42efc990a (patch)
treeb06dc7abcf10ff4b5cd4d8bb56e62c3fd7976680 /code/client
parent72e902105a5dfc87e8b7e62197da425389c049a7 (diff)
downloadioquake3-aero-1ed84e9be39af8caaf3f49e4de5735d42efc990a.tar.gz
ioquake3-aero-1ed84e9be39af8caaf3f49e4de5735d42efc990a.zip
* Only display the g_syncClients warning when it's appropriate
git-svn-id: svn://svn.icculus.org/quake3/trunk@457 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r--code/client/cl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 5f3cba8..bb83b3d 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -283,7 +283,7 @@ void CL_Record_f( void ) {
}
// 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");
}