aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 6fe3a99e17..f5c3338d3a 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -941,7 +941,10 @@ File *Sound::openSfxFile() {
}
if (!file->isOpen()) {
- sprintf(buf, "%s.tlk", _vm->getGameName());
+ if (_vm->_heversion >= 70)
+ sprintf(buf, "%s.he2", _vm->getGameName());
+ else
+ sprintf(buf, "%s.tlk", _vm->getGameName());
if (file->open(buf))
file->setEnc(0x69);
_soundMode = kVOCMode;