From 4821b9908f6c720c39d130649f2520b86c4a765d Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 30 May 2005 08:03:23 +0000 Subject: Only sound types 0 - 2 are used by FM Towns games. svn-id: r18299 --- scumm/sound.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scumm/sound.cpp') diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 75ab56c869..b21e8a32ab 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -490,7 +490,7 @@ void Sound::playSound(int soundID, int heOffset, int heChannel, int heFlags) { } break; case 1: - case 255: // 255 is the type used in Indy3 FM-TOWNS + case 255: // 255 is the type used by sound resource 40 in Indy3 FM-TOWNS // Music (Euphony format) if (_vm->_musicEngine) _vm->_musicEngine->startSound(soundID); @@ -514,8 +514,7 @@ void Sound::playSound(int soundID, int heOffset, int heChannel, int heFlags) { _currentCDSound = soundID; break; - default: // Unsupported sound type - error("Unsupported sound sub-type %d", type); + default: break; } } -- cgit v1.2.3