aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-09-02 07:18:24 +0000
committerPaweł Kołodziejski2003-09-02 07:18:24 +0000
commitf59a0633d6c58b1e37aaaa27af5ad6e4115e436a (patch)
treeb39929deefc8cdb1c31bff8f227da4b9d4655a03 /scumm/sound.cpp
parent1f29e0416cf1828c4303ecfeac5371bc22cc7c0a (diff)
downloadscummvm-rg350-f59a0633d6c58b1e37aaaa27af5ad6e4115e436a.tar.gz
scummvm-rg350-f59a0633d6c58b1e37aaaa27af5ad6e4115e436a.tar.bz2
scummvm-rg350-f59a0633d6c58b1e37aaaa27af5ad6e4115e436a.zip
fixed if check
svn-id: r9962
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);