aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorJonathan Gray2005-09-14 10:49:53 +0000
committerJonathan Gray2005-09-14 10:49:53 +0000
commita5b1a8a2b5ce723277e04948ebe986c11f8023a6 (patch)
treefa4ae1425edfa809ba01a5c0c9ec674181beb01c /scumm/sound.cpp
parent2b9bf456de24195e2c5431bcba8ee1cc992e57c2 (diff)
downloadscummvm-rg350-a5b1a8a2b5ce723277e04948ebe986c11f8023a6.tar.gz
scummvm-rg350-a5b1a8a2b5ce723277e04948ebe986c11f8023a6.tar.bz2
scummvm-rg350-a5b1a8a2b5ce723277e04948ebe986c11f8023a6.zip
Move the check for >= v5 further up the calling chain
for deciding whether we want to open an sfxfile. svn-id: r18823
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 0ef964bc27..984aca6f07 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1075,8 +1075,7 @@ void Sound::talkSound(uint32 a, uint32 b, int mode, int channel) {
void Sound::setupSound() {
delete _sfxFile;
- if (_vm->_version >= 5)
- _sfxFile = openSfxFile();
+ _sfxFile = openSfxFile();
if (_vm->_heversion >= 70) {
setupHEMusicFile();