aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gob/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gob/music.cpp b/gob/music.cpp
index 4d613513b5..a77fc0c1b6 100644
--- a/gob/music.cpp
+++ b/gob/music.cpp
@@ -178,7 +178,7 @@ void Music::setVoice(byte voice, byte instr, bool set) {
writeOPL(0xE0 | channel, (strct[26] & 3));
else
writeOPL(0xE0 | channel, (strct[14] & 3));
- if (i & set)
+ if (i && set)
writeOPL(0x40 | channel, 0);
}
}