diff options
author | Travis Howell | 2004-01-20 00:21:24 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-20 00:21:24 +0000 |
commit | b8e739ae3d6d6e3ee61b5c1e67e29ee13c60410c (patch) | |
tree | 9646a5238c304d9f66487d355b017299b8a831b5 /scumm/sound.cpp | |
parent | 698eefae58b5ff065fc777b28530a3d77e5f9933 (diff) | |
download | scummvm-rg350-b8e739ae3d6d6e3ee61b5c1e67e29ee13c60410c.tar.gz scummvm-rg350-b8e739ae3d6d6e3ee61b5c1e67e29ee13c60410c.tar.bz2 scummvm-rg350-b8e739ae3d6d6e3ee61b5c1e67e29ee13c60410c.zip |
Add newline
Prevent overlapping speech in dig.
svn-id: r12530
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r-- | scumm/sound.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 5b7b7d13d3..b66c70a406 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -465,9 +465,11 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, PlayingSoundHandle if (_vm->_gameId == GID_CMI) { _sfxMode |= mode; return; - } + } else if (_vm->_gameId == GID_DIG) { + _sfxMode |= mode; + if (!(_vm->_features & GF_DEMO)) + return; - if ((_vm->_gameId == GID_DIG) && (_vm->_features & GF_DEMO)) { char filename[30]; char roomname[10]; |