From ab0cf121c992732720c325db96114592534f1ca2 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 3 Mar 2006 00:45:27 +0000 Subject: [PATCH] Always use music sound type, for music in 3DO versions of HE games svn-id: r21019 --- engines/scumm/he/sound_he.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp index a2c4a2c0486..fb621954f97 100644 --- a/engines/scumm/he/sound_he.cpp +++ b/engines/scumm/he/sound_he.cpp @@ -336,10 +336,10 @@ void Sound::playHESound(int soundID, int heOffset, int heChannel, int heFlags) { byte flags = Audio::Mixer::FLAG_UNSIGNED; Audio::Mixer::SoundType type = Audio::Mixer::kSFXSoundType; - if (soundID == 1) - type = Audio::Mixer::kSpeechSoundType; - else if (soundID > _vm->_numSounds) + if (soundID > _vm->_numSounds) type = Audio::Mixer::kMusicSoundType; + else if (soundID == 1) + type = Audio::Mixer::kSpeechSoundType; if (heChannel == -1) @@ -492,7 +492,7 @@ void Sound::playHESound(int soundID, int heOffset, int heChannel, int heFlags) { _vm->_mixer->stopID(_currentMusic); _currentMusic = soundID; - _vm->_mixer->playRaw(NULL, ptr + 8, size, rate, flags, soundID, 255, 0, 0,0, type); + _vm->_mixer->playRaw(NULL, ptr + 8, size, rate, flags, soundID, 255, 0, 0,0, Audio::Mixer::kMusicSoundType); } else if (READ_BE_UINT32(ptr) == MKID_BE('MIDI')) { if (_vm->_imuse) {