diff options
author | Jonathan Gray | 2005-09-14 10:38:07 +0000 |
---|---|---|
committer | Jonathan Gray | 2005-09-14 10:38:07 +0000 |
commit | 2b9bf456de24195e2c5431bcba8ee1cc992e57c2 (patch) | |
tree | 38456397cf2a2e3fdfc223720a8afd33bb44c818 | |
parent | 40bf69230c6da7de5bd6631e5fe66eb0dfdbad1f (diff) | |
download | scummvm-rg350-2b9bf456de24195e2c5431bcba8ee1cc992e57c2.tar.gz scummvm-rg350-2b9bf456de24195e2c5431bcba8ee1cc992e57c2.tar.bz2 scummvm-rg350-2b9bf456de24195e2c5431bcba8ee1cc992e57c2.zip |
Only try opening SfxFile for >= v5 games.
svn-id: r18822
-rw-r--r-- | scumm/sound.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 24d68e6801..0ef964bc27 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -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(); |