From bf6d45c620f098c84d602e9347bc7cf457c38b5a Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Thu, 28 Feb 2008 12:09:10 +0000 Subject: Do not spam dedicated server console with heartbeats. Added autocompletion of options for some commands. Made logfile_prefix not empty by default. Re-enabled `anti-kick' exploit fix. --- source/sv_send.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/sv_send.c') diff --git a/source/sv_send.c b/source/sv_send.c index c87a16c..cabf340 100644 --- a/source/sv_send.c +++ b/source/sv_send.c @@ -282,7 +282,7 @@ void SV_Multicast( vec3_t origin, multicast_t to ) { } // do not send unreliables to connecting clients if( !( flags & MSG_RELIABLE ) && ( client->state != cs_spawned || - client->download || client->nodata ) ) + client->download || ( client->flags & CF_NODATA ) ) ) { continue; } @@ -766,7 +766,7 @@ void SV_SendClientMessages( void ) { // send a message to each connected client FOR_EACH_CLIENT( client ) { - if( client->state != cs_spawned || client->download || client->nodata ) + if( client->state != cs_spawned || client->download || ( client->flags & CF_NODATA ) ) goto finish; // if the reliable message overflowed, -- cgit v1.2.3