diff options
author | Robert Göffringmann | 2004-10-13 00:59:27 +0000 |
---|---|---|
committer | Robert Göffringmann | 2004-10-13 00:59:27 +0000 |
commit | e2917b1664f94071a19fb7597fa26f583149aa6c (patch) | |
tree | 8b07f3ca27aa6e59e32f9887f60c749b9c7d8152 | |
parent | 3842898a3e0a7acaab7db8ea2edee33f4e6fcea2 (diff) | |
download | scummvm-rg350-e2917b1664f94071a19fb7597fa26f583149aa6c.tar.gz scummvm-rg350-e2917b1664f94071a19fb7597fa26f583149aa6c.tar.bz2 scummvm-rg350-e2917b1664f94071a19fb7597fa26f583149aa6c.zip |
I hope this fixes speech in demo
svn-id: r15534
-rw-r--r-- | sword1/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/sound.cpp b/sword1/sound.cpp index 1dbd6b7538..b7fd7f0ea6 100644 --- a/sword1/sound.cpp +++ b/sword1/sound.cpp @@ -168,7 +168,7 @@ bool Sound::startSpeech(uint16 roomNo, uint16 localNo) { if (sampleSize) { uint8 speechVol = (_speechVolR + _speechVolL) / 2; int8 speechPan = (_speechVolR - _speechVolL) / 2; - if (_cowMode == CowWave) { + if ((_cowMode == CowWave) || (_cowMode == CowDemo)) { uint32 size; int16 *data = uncompressSpeech(index + _cowHeaderSize, sampleSize, &size); if (data) |