diff options
author | Max Horn | 2004-04-25 16:54:59 +0000 |
---|---|---|
committer | Max Horn | 2004-04-25 16:54:59 +0000 |
commit | 0773177bba98de9d9e8680eed129089039997635 (patch) | |
tree | 2cfca86ce28f990a593298c47bcf898c0a8cd87b | |
parent | 795a735a312c1a6c444c4b35c62721b69eee3d8b (diff) | |
download | scummvm-rg350-0773177bba98de9d9e8680eed129089039997635.tar.gz scummvm-rg350-0773177bba98de9d9e8680eed129089039997635.tar.bz2 scummvm-rg350-0773177bba98de9d9e8680eed129089039997635.zip |
Fix regression in DIG demo
svn-id: r13627
-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 |