aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 3333c3faa1..0e6db267ea 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -466,7 +466,7 @@ void Sound::playSound(int soundID) {
memcpy(sound,ptr + start,size);
// Experimental sound looping support
- if (start == 108 | start == 106)
+ if (start == 108 || start == 106)
_scumm->_mixer->playRaw(NULL, sound, size, rate,
SoundMixer::FLAG_AUTOFREE | SoundMixer::FLAG_LOOP, 127, 0, soundID,
start,size);