aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r--engines/kyra/sound.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp
index 891f4cda1d..6812554869 100644
--- a/engines/kyra/sound.cpp
+++ b/engines/kyra/sound.cpp
@@ -235,9 +235,8 @@ void SoundMidiPC::metaEvent(byte type, byte *data, uint16 length) {
case 0x2F: // End of Track
if (_eventFromMusic) {
// remap all channels
- for (int i = 0; i < 16; ++i) {
+ for (int i = 0; i < 16; ++i)
_virChannel[i] = i;
- }
} else {
_sfxIsPlaying = false;
}