diff options
author | Paul Gilbert | 2017-11-17 19:23:51 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-11-17 19:23:51 -0500 |
commit | ef8cf2a543ad04e971c7b09290f2d46ca0a3a4eb (patch) | |
tree | 621f6ea78f4269af184b8cb27f76ca16417f67f0 /engines/xeen/music.cpp | |
parent | d3a831644c7b9a31b2b74824b7638072a6630fda (diff) | |
download | scummvm-rg350-ef8cf2a543ad04e971c7b09290f2d46ca0a3a4eb.tar.gz scummvm-rg350-ef8cf2a543ad04e971c7b09290f2d46ca0a3a4eb.tar.bz2 scummvm-rg350-ef8cf2a543ad04e971c7b09290f2d46ca0a3a4eb.zip |
XEEN: Fix music channel loop
Diffstat (limited to 'engines/xeen/music.cpp')
-rw-r--r-- | engines/xeen/music.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/music.cpp b/engines/xeen/music.cpp index db64979134..ab22afd6c1 100644 --- a/engines/xeen/music.cpp +++ b/engines/xeen/music.cpp @@ -356,7 +356,7 @@ void AdlibMusicDriver::pausePostProcess() { } } - for (int channelNum = 8; channelNum != 6 || (channelNum == 7 && _exclude7); --channelNum) { + for (int channelNum = 8; channelNum > (_exclude7 ? 7 : 6); --channelNum) { Channel &chan = _channels[channelNum]; if (!chan._changeFrequency || (chan._freqCtr += chan._freqCtrChange) >= 0) continue; |