aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-05-01 03:17:45 +0000
committerTravis Howell2005-05-01 03:17:45 +0000
commitcb6c2b9da5b49a8ef8617766d6e4421d8e8c0150 (patch)
tree0edc641aab5ea81a1651a46a3632a564ce319f7c /scumm/sound.cpp
parent343debba1e3a097fbe47edad1ae4deb3a1a252e0 (diff)
downloadscummvm-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.cpp5
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;