aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-09-01 03:08:32 +0000
committerTravis Howell2003-09-01 03:08:32 +0000
commitc5141005e0e1e3ed0ac082d7c357683762e0bb0c (patch)
tree6f74cf8b91c97d12c2865efc07ff6b4fdf7e88fc /scumm/string.cpp
parentb43a6f649616ec65d92b7154b0fe08fc348eb89c (diff)
downloadscummvm-rg350-c5141005e0e1e3ed0ac082d7c357683762e0bb0c.tar.gz
scummvm-rg350-c5141005e0e1e3ed0ac082d7c357683762e0bb0c.tar.bz2
scummvm-rg350-c5141005e0e1e3ed0ac082d7c357683762e0bb0c.zip
Add CD audio check for loomcd
Revert last change, since it wipped out intro. text. svn-id: r9947
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index dee0c92e54..446978dfe6 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -310,9 +310,8 @@ void Scumm::CHARSET_1() {
if (_version <= 3) {
_charset->printChar(c);
} else {
- if ((_gameId == GID_LOOM256) && _noSubtitles) {
- // FIXME Special case for loomcd, since it only uses CD audio.for sound
- // We need a way to check if CD audio is been used
+ if ((_gameId == GID_LOOM256) && _noSubtitles && (_sound->pollCD())) {
+ // Special case for loomcd, since it only uses CD audio.for sound
} else if (_noSubtitles && (_haveMsg == 0xFE || _sound->_talkChannelHandle)) {
// Subtitles are turned off, and there is a voice version
// of this message -> don't print it.