From 60dd6b7d3b6cbfa6ebff7a92b4134dd2a45a05ff Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 17 Jul 2004 05:29:56 +0000 Subject: Use VAR_VOICE_BUNDLE_LOADED in FT, it is need by at least one script (250) svn-id: r14229 --- scumm/sound.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scumm/sound.cpp') 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) { -- cgit v1.2.3