aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-12 09:02:18 +0000
committerTravis Howell2004-07-12 09:02:18 +0000
commit621ff05aced6de205975103c0de5a58695163719 (patch)
tree85c8f77d61b51c04b84131fe180d6479518e3fb0 /scumm/script_v7he.cpp
parentb42e853ddd27631665a652def14fd35b898d694a (diff)
downloadscummvm-rg350-621ff05aced6de205975103c0de5a58695163719.tar.gz
scummvm-rg350-621ff05aced6de205975103c0de5a58695163719.tar.bz2
scummvm-rg350-621ff05aced6de205975103c0de5a58695163719.zip
Add support for music in HE 7.0 games.
Check music status correctly in 3DO versions. svn-id: r14193
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index cdea4b96e0..b4dec51ae7 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -686,11 +686,8 @@ void ScummEngine_v7he::o7_startSound() {
case 255:
// _sound->addSoundToQueue(_heSndSoundId, _heSndOffset, _heSndTimer, _heSndLoop);
- // FIXME: Music resources (Id 4000+?) are currently unsupported,
- // so don't attempt to play them.
- if (_heSndSoundId < 4000)
- _sound->addSoundToQueue(_heSndSoundId);
- debug(1, "o7_startSound stub (%d, %d, %d, %d)", _heSndSoundId, _heSndOffset, _heSndTimer, _heSndLoop);
+ _sound->addSoundToQueue(_heSndSoundId);
+ debug(2, "o7_startSound stub (%d, %d, %d, %d)", _heSndSoundId, _heSndOffset, _heSndTimer, _heSndLoop);
_heSndLoop = 0;
break;