diff options
author | Travis Howell | 2005-05-01 03:17:45 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-01 03:17:45 +0000 |
commit | cb6c2b9da5b49a8ef8617766d6e4421d8e8c0150 (patch) | |
tree | 0edc641aab5ea81a1651a46a3632a564ce319f7c /scumm/sound.cpp | |
parent | 343debba1e3a097fbe47edad1ae4deb3a1a252e0 (diff) | |
download | scummvm-rg350-cb6c2b9da5b49a8ef8617766d6e4421d8e8c0150.tar.gz scummvm-rg350-cb6c2b9da5b49a8ef8617766d6e4421d8e8c0150.tar.bz2 scummvm-rg350-cb6c2b9da5b49a8ef8617766d6e4421d8e8c0150.zip |
Add extra cases for readdemo.
svn-id: r17879
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r-- | scumm/sound.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index e759b52275..4932ed41d1 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -231,6 +231,11 @@ void Sound::playSound(int soundID, int heOffset, int heChannel, int heFlags) { if (_vm->_heversion >= 70 && soundID > _vm->_numSounds) { debug(1, "playSound #%d", soundID); + if (soundID >= 10000) { + // Special codes, used in pjgames + return; + } + int music_offs; char buf[32], buf1[128]; File musicFile; |