aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorRobert Göffringmann2004-10-13 00:59:27 +0000
committerRobert Göffringmann2004-10-13 00:59:27 +0000
commite2917b1664f94071a19fb7597fa26f583149aa6c (patch)
tree8b07f3ca27aa6e59e32f9887f60c749b9c7d8152 /sword1
parent3842898a3e0a7acaab7db8ea2edee33f4e6fcea2 (diff)
downloadscummvm-rg350-e2917b1664f94071a19fb7597fa26f583149aa6c.tar.gz
scummvm-rg350-e2917b1664f94071a19fb7597fa26f583149aa6c.tar.bz2
scummvm-rg350-e2917b1664f94071a19fb7597fa26f583149aa6c.zip
I hope this fixes speech in demo
svn-id: r15534
Diffstat (limited to 'sword1')
-rw-r--r--sword1/sound.cpp2
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)