aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
authorPaweł Kołodziejski2006-01-08 12:42:06 +0000
committerPaweł Kołodziejski2006-01-08 12:42:06 +0000
commit9bf883274c8a4be0d9406e1a8b27b0f2fac894d9 (patch)
tree4e7a47144e7e458c0d2bca5155a71e161e5ba293 /gob
parent99dd62e594e37e5eebc39fe251d4e30ec6538bb1 (diff)
downloadscummvm-rg350-9bf883274c8a4be0d9406e1a8b27b0f2fac894d9.tar.gz
scummvm-rg350-9bf883274c8a4be0d9406e1a8b27b0f2fac894d9.tar.bz2
scummvm-rg350-9bf883274c8a4be0d9406e1a8b27b0f2fac894d9.zip
fixed warnings, I guess that should to be
svn-id: r19943
Diffstat (limited to 'gob')
-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);
}
}