aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound.cpp')
-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) {