From 2f222d02fbfdaca3ac79d4d26bb8030ff026bd33 Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Wed, 1 Oct 2014 17:32:20 -0400 Subject: [PATCH] fix faulty flag check --- src/sound/oal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/oal.cpp b/src/sound/oal.cpp index 8fd9608..9cf469c 100644 --- a/src/sound/oal.cpp +++ b/src/sound/oal.cpp @@ -1215,7 +1215,7 @@ int oal_update_source(int channel, int min, int max, vector *pos, vector *vel) return 0; } - if ( !Channels[channel].flags & SND_FLAG_3D ) { + if ( !(Channels[channel].flags & SND_FLAG_3D) ) { return 1; } -- 2.39.2