* Only display the g_syncClients warning when it's appropriate

This commit is contained in:
Tim Angus 2006-01-04 21:48:20 +00:00
parent 6e24cfe7d3
commit 0c9d2c365a

View file

@ -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 .. // 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"); Com_Printf (S_COLOR_YELLOW "WARNING: You should set 'g_synchronousClients 1' for smoother demo recording\n");
} }