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/mvd_parse.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/mvd_parse.c')
-rw-r--r-- | source/mvd_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |