Skip to content

Commit

Permalink
XEEN: Fix music channel loop
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Nov 18, 2017
1 parent d3a8316 commit ef8cf2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/xeen/music.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit ef8cf2a

Please sign in to comment.