From 7d6f56ed48d021a9b13a4a5ffbb274c8eeef3722 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 23 Jun 2004 02:21:10 +0000 Subject: Enable some sound support in HE7 games. svn-id: r14006 --- scumm/sound.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scumm/sound.cpp') 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; -- cgit v1.2.3