From 936f4c0963fd1f87b4882ec5de38dc989deb1bb5 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 10 Jan 2009 14:10:04 +0000 Subject: setQuickStartFlag is different value in HE100 games. svn-id: r35803 --- engines/scumm/he/sound_he.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp index 3466185c97..10c0b0153e 100644 --- a/engines/scumm/he/sound_he.cpp +++ b/engines/scumm/he/sound_he.cpp @@ -67,12 +67,13 @@ void SoundHE::addSoundToQueue(int sound, int heOffset, int heChannel, int heFlag if (_vm->VAR_LAST_SOUND != 0xFF) _vm->VAR(_vm->VAR_LAST_SOUND) = sound; - if (heFlags & 16) { + if ((_vm->_game.heversion <= 99 && (heFlags & 16)) || (_vm->_game.heversion == 100 && (heFlags & 8))) { playHESound(sound, heOffset, heChannel, heFlags); return; - } + } else { - Sound::addSoundToQueue(sound, heOffset, heChannel, heFlags); + Sound::addSoundToQueue(sound, heOffset, heChannel, heFlags); + } } void SoundHE::addSoundToQueue2(int sound, int heOffset, int heChannel, int heFlags) { -- cgit v1.2.3