diff options
author | Paweł Kołodziejski | 2006-01-08 12:42:06 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-01-08 12:42:06 +0000 |
commit | 9bf883274c8a4be0d9406e1a8b27b0f2fac894d9 (patch) | |
tree | 4e7a47144e7e458c0d2bca5155a71e161e5ba293 /gob | |
parent | 99dd62e594e37e5eebc39fe251d4e30ec6538bb1 (diff) | |
download | scummvm-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.cpp | 2 |
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); } } |