Only try opening SfxFile for >= v5 games.

svn-id: r18822
This commit is contained in:
Jonathan Gray 2005-09-14 10:38:07 +00:00
parent 40bf69230c
commit 2b9bf456de

View File

@ -1074,7 +1074,9 @@ void Sound::talkSound(uint32 a, uint32 b, int mode, int channel) {
void Sound::setupSound() {
delete _sfxFile;
_sfxFile = openSfxFile();
if (_vm->_version >= 5)
_sfxFile = openSfxFile();
if (_vm->_heversion >= 70) {
setupHEMusicFile();