From cb6c2b9da5b49a8ef8617766d6e4421d8e8c0150 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 1 May 2005 03:17:45 +0000 Subject: Add extra cases for readdemo. svn-id: r17879 --- scumm/sound.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scumm/sound.cpp') 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; -- cgit v1.2.3