diff options
author | Travis Howell | 2005-05-30 08:03:23 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-30 08:03:23 +0000 |
commit | 4821b9908f6c720c39d130649f2520b86c4a765d (patch) | |
tree | 6281875ac8580fe98c4018bc00ba8c523f90c4c6 /scumm | |
parent | b2250cca647271a45d20c6191fefb0f0da4c0ad1 (diff) | |
download | scummvm-rg350-4821b9908f6c720c39d130649f2520b86c4a765d.tar.gz scummvm-rg350-4821b9908f6c720c39d130649f2520b86c4a765d.tar.bz2 scummvm-rg350-4821b9908f6c720c39d130649f2520b86c4a765d.zip |
Only sound types 0 - 2 are used by FM Towns games.
svn-id: r18299
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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; } } |