diff options
author | Travis Howell | 2003-08-15 04:16:51 +0000 |
---|---|---|
committer | Travis Howell | 2003-08-15 04:16:51 +0000 |
commit | f76980af395bb0b065b6f364bb0bae66c9f50abf (patch) | |
tree | acf776f1a56ef2b91d886883cde7f67b960ac752 /scumm | |
parent | 9d450bc9ce21b2e702e15f18b9dff2a65c0373bb (diff) | |
download | scummvm-rg350-f76980af395bb0b065b6f364bb0bae66c9f50abf.tar.gz scummvm-rg350-f76980af395bb0b065b6f364bb0bae66c9f50abf.tar.bz2 scummvm-rg350-f76980af395bb0b065b6f364bb0bae66c9f50abf.zip |
Restrict monkeyega/vga music stop hack to ADL and RO sound resources
svn-id: r9697
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 71e6deab6f..3619f177e4 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -464,7 +464,7 @@ void Sound::playSound(int soundID) { // This hack relays on the fact that we currently don't support SFX // in these games, only music. Once we add SFX support, we'll have to // revise it / replace it by a proper fix. - if (ptr) { + if (READ_BE_UINT16(ptr) == 'RO' || READ_UINT32(ptr) == MKID('ADL ')) { _scumm->_imuse->stop_all_sounds(); } } |