diff options
author | Travis Howell | 2009-01-10 14:10:04 +0000 |
---|---|---|
committer | Travis Howell | 2009-01-10 14:10:04 +0000 |
commit | 936f4c0963fd1f87b4882ec5de38dc989deb1bb5 (patch) | |
tree | 52456d13800ffc279d7384cad4d42eb42307baee | |
parent | 5fc53e262e01e905ddb093d7228f00d73b8b4ab3 (diff) | |
download | scummvm-rg350-936f4c0963fd1f87b4882ec5de38dc989deb1bb5.tar.gz scummvm-rg350-936f4c0963fd1f87b4882ec5de38dc989deb1bb5.tar.bz2 scummvm-rg350-936f4c0963fd1f87b4882ec5de38dc989deb1bb5.zip |
setQuickStartFlag is different value in HE100 games.
svn-id: r35803
-rw-r--r-- | engines/scumm/he/sound_he.cpp | 7 |
1 files 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) { |