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/mvd_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/mvd_parse.c') diff --git a/source/mvd_parse.c b/source/mvd_parse.c index 505ff6b..13ff8c1 100644 --- a/source/mvd_parse.c +++ b/source/mvd_parse.c @@ -266,7 +266,7 @@ static void MVD_ParseMulticast( mvd_t *mvd, mvd_ops_t op, int extrabits ) { } // do not send unreliables to connecting clients - if( !reliable && ( cl->state != cs_spawned || cl->download || cl->nodata ) ) { + if( !reliable && ( cl->state != cs_spawned || cl->download || ( cl->flags & CF_NODATA ) ) ) { continue; } @@ -541,7 +541,7 @@ static void MVD_ParseSound( mvd_t *mvd, int extrabits ) { cl = client->cl; // do not send unreliables to connecting clients - if( cl->state != cs_spawned || cl->download || cl->nodata ) { + if( cl->state != cs_spawned || cl->download || ( cl->flags & CF_NODATA ) ) { continue; } -- cgit v1.2.3