aboutsummaryrefslogtreecommitdiff
path: root/scumm/insane
diff options
context:
space:
mode:
authorTravis Howell2004-08-07 00:59:56 +0000
committerTravis Howell2004-08-07 00:59:56 +0000
commit69ce0c29bfa90cd166b6f360a62be8a5f9ed558f (patch)
treea06eb07512bd210845d1aa721a496b318c1ebdaa /scumm/insane
parent7f574d4e8ef8611dd3f3d3aea6704618980fb3fb (diff)
downloadscummvm-rg350-69ce0c29bfa90cd166b6f360a62be8a5f9ed558f.tar.gz
scummvm-rg350-69ce0c29bfa90cd166b6f360a62be8a5f9ed558f.tar.bz2
scummvm-rg350-69ce0c29bfa90cd166b6f360a62be8a5f9ed558f.zip
More PC FT demo INSANE differences (Sounds)
svn-id: r14492
Diffstat (limited to 'scumm/insane')
-rw-r--r--scumm/insane/insane.cpp3
-rw-r--r--scumm/insane/insane_scenes.cpp19
2 files changed, 12 insertions, 10 deletions
diff --git a/scumm/insane/insane.cpp b/scumm/insane/insane.cpp
index 09a50123f5..43b3ccd507 100644
--- a/scumm/insane/insane.cpp
+++ b/scumm/insane/insane.cpp
@@ -764,9 +764,6 @@ void Insane::smush_setToFinish(void) {
// smlayer_stopSound
void Insane::smlayer_stopSound(int idx) {
- if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC))
- return;
-
_vm->_imuseDigital->stopSound(readArray(idx));
}
diff --git a/scumm/insane/insane_scenes.cpp b/scumm/insane/insane_scenes.cpp
index d804ca5a76..a54ac6e2ba 100644
--- a/scumm/insane/insane_scenes.cpp
+++ b/scumm/insane/insane_scenes.cpp
@@ -235,13 +235,18 @@ void Insane::stopSceneSounds(int sceneId) {
_actor[1].defunct = 0;
_actor[1].scenePropSubIdx = 0;
_actor[1].field_54 = 0;
- smlayer_stopSound(89);
- smlayer_stopSound(90);
- smlayer_stopSound(91);
- smlayer_stopSound(92);
- smlayer_stopSound(93);
- smlayer_stopSound(95);
- smlayer_stopSound(87);
+ if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) {
+ smlayer_stopSound(59);
+ smlayer_stopSound(63);
+ } else {
+ smlayer_stopSound(89);
+ smlayer_stopSound(90);
+ smlayer_stopSound(91);
+ smlayer_stopSound(92);
+ smlayer_stopSound(93);
+ smlayer_stopSound(95);
+ smlayer_stopSound(87);
+ }
break;
case 4:
case 5: