aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-07-17 05:29:56 +0000
committerTravis Howell2004-07-17 05:29:56 +0000
commit60dd6b7d3b6cbfa6ebff7a92b4134dd2a45a05ff (patch)
tree1ce709da099aadfaf3bf957ddec90cfb3c37bba0
parent64ec170fce2494d05ba6f92b247b8dcf1b330a7a (diff)
downloadscummvm-rg350-60dd6b7d3b6cbfa6ebff7a92b4134dd2a45a05ff.tar.gz
scummvm-rg350-60dd6b7d3b6cbfa6ebff7a92b4134dd2a45a05ff.tar.bz2
scummvm-rg350-60dd6b7d3b6cbfa6ebff7a92b4134dd2a45a05ff.zip
Use VAR_VOICE_BUNDLE_LOADED in FT, it is need by at least one script (250)
svn-id: r14229
-rw-r--r--scumm/sound.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index ade35e7d6f..28f59f4371 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -897,6 +897,9 @@ void Sound::talkSound(uint32 a, uint32 b, int mode, int frame) {
void Sound::setupSound() {
delete _sfxFile;
_sfxFile = openSfxFile();
+
+ if (_vm->VAR_VOICE_BUNDLE_LOADED != 0xFF)
+ _vm->VAR(_vm->VAR_VOICE_BUNDLE_LOADED) = _sfxFile->isOpen();
}
void Sound::pauseSounds(bool pause) {