diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-02-28 12:09:10 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-02-28 12:09:10 +0000 |
commit | bf6d45c620f098c84d602e9347bc7cf457c38b5a (patch) | |
tree | ec075676ff09467ea910c51fb45fb37185a1ddf3 /source/sv_send.c | |
parent | 4034314816f7ec9e26c9b9bfc2630c8ca0a24874 (diff) |
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.
Diffstat (limited to 'source/sv_send.c')
-rw-r--r-- | source/sv_send.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |