diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 1e4eaddddd..1211eaaa91 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -930,8 +930,8 @@ File *Sound::openSfxFile() { if (!file->isOpen()) { sprintf(buf, "%s.tlk", _vm->getGameName()); - file->open(buf); - file->setEnc(0x69); + if (file->open(buf)) + file->setEnc(0x69); _soundMode = kVOCMode; } else if (_soundMode != kVOCMode) { /* Now load the 'offset' index in memory to be able to find the MP3 data |