From a5b1a8a2b5ce723277e04948ebe986c11f8023a6 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 14 Sep 2005 10:49:53 +0000 Subject: Move the check for >= v5 further up the calling chain for deciding whether we want to open an sfxfile. svn-id: r18823 --- scumm/sound.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scumm/sound.cpp') 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(); -- cgit v1.2.3