aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-01-10 14:10:04 +0000
committerTravis Howell2009-01-10 14:10:04 +0000
commit936f4c0963fd1f87b4882ec5de38dc989deb1bb5 (patch)
tree52456d13800ffc279d7384cad4d42eb42307baee /engines
parent5fc53e262e01e905ddb093d7228f00d73b8b4ab3 (diff)
downloadscummvm-rg350-936f4c0963fd1f87b4882ec5de38dc989deb1bb5.tar.gz
scummvm-rg350-936f4c0963fd1f87b4882ec5de38dc989deb1bb5.tar.bz2
scummvm-rg350-936f4c0963fd1f87b4882ec5de38dc989deb1bb5.zip
setQuickStartFlag is different value in HE100 games.
svn-id: r35803
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/he/sound_he.cpp7
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) {