summaryrefslogtreecommitdiff
path: root/source/mvd_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r--source/mvd_parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/mvd_parse.c b/source/mvd_parse.c
index dccd689..d587d1e 100644
--- a/source/mvd_parse.c
+++ b/source/mvd_parse.c
@@ -532,7 +532,7 @@ static void MVD_ParseSound( mvd_t *mvd, int extrabits ) {
}
// PHS cull this sound
- if( extrabits & 1 ) {
+ if( !( extrabits & 1 ) ) {
// get client viewpos
ps = &client->ps;
VectorMA( ps->viewoffset, 0.125f, ps->pmove.origin, origin );
@@ -561,7 +561,6 @@ static void MVD_ParseSound( mvd_t *mvd, int extrabits ) {
// reliable sounds will always have position explicitly set,
// as no one gurantees reliables to be delivered in time
- // why should this happen anyway?
if( extrabits & 2 ) {
MSG_WriteByte( svc_sound );
MSG_WriteByte( flags | SND_POS );