aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-07-14 08:42:02 +0000
committerTravis Howell2003-07-14 08:42:02 +0000
commit21266bfc79f3462537b182ffef1de40e2bfaddd8 (patch)
treec57d060d002f6233126571298f333108a6bdb910 /scumm/sound.cpp
parent74d3d914a93dd3914e74aed278eb8f9383f51783 (diff)
downloadscummvm-rg350-21266bfc79f3462537b182ffef1de40e2bfaddd8.tar.gz
scummvm-rg350-21266bfc79f3462537b182ffef1de40e2bfaddd8.tar.bz2
scummvm-rg350-21266bfc79f3462537b182ffef1de40e2bfaddd8.zip
zak v1 uses same sound resources as zak v2
svn-id: r9002
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index e957405b21..e934a1bbfc 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -487,7 +487,10 @@ void Sound::playSound(int soundID) {
return;
}
- if (_scumm->_features & GF_OLD_BUNDLE && _scumm->_version != 1) {
+ if (_scumm->_features & GF_OLD_BUNDLE) {
+ //TODO: support maniac v1 sounds
+ if ((_scumm->_version == 1) && (_scumm->_gameId == GID_MANIAC))
+ return;
// other versions seem to be 0000 at this point...
// hopefully this test is correct
// 0xfe7f seems to be sound and 0x764a music