aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.cpp
diff options
context:
space:
mode:
authorD G Turner2011-12-28 00:40:00 +0000
committerD G Turner2011-12-28 00:40:00 +0000
commit5492307982b3af117f2314cc22c680b48afe9689 (patch)
tree36714b83e5dc87e76d81e7ff0909f2ddef2554e1 /engines/dreamweb/stubs.cpp
parent4f5a708d7dc8d4040e866430df7ab019379f3e03 (diff)
downloadscummvm-rg350-5492307982b3af117f2314cc22c680b48afe9689.tar.gz
scummvm-rg350-5492307982b3af117f2314cc22c680b48afe9689.tar.bz2
scummvm-rg350-5492307982b3af117f2314cc22c680b48afe9689.zip
DREAMWEB: Move 'speechloaded' flag out of data blob.
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r--engines/dreamweb/stubs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 8c4d7389ca..44c5decd70 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -944,7 +944,7 @@ void DreamBase::setupTimedTemp(uint8 textIndex, uint8 voiceIndex, uint8 x, uint8
// FIXME: This fallthrough does not properly support subtitles+speech
// mode. The parameters to setuptimedtemp() are sometimes different
// for speech and for subtitles. See e.g., madmantext()
- if ((data.byte(kSpeechloaded) == 1) && !_subtitles)
+ if (_speechLoaded && !_subtitles)
return;
}
#endif
@@ -1703,7 +1703,7 @@ bool DreamBase::isCD() {
// This is a hack to guess which version to use with the assumption that if we have a cd version
// we managed to load the speech. At least it is isolated in this function and can be changed.
// Maybe detect the version during game id?
- return (data.byte(kSpeechloaded) == 1);
+ return (_speechLoaded);
}
void DreamBase::showIcon() {