diff options
author | Travis Howell | 2006-03-31 00:39:53 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-31 00:39:53 +0000 |
commit | 469b1420da8e646a6f6fd3852af3326f9630e274 (patch) | |
tree | f33e1af1cd87aaac2bd0ac561c96681b1da3c2ed /engines | |
parent | e504e814b102992f2aa3dbdb7aa47a8dcaa3fec1 (diff) | |
download | scummvm-rg350-469b1420da8e646a6f6fd3852af3326f9630e274.tar.gz scummvm-rg350-469b1420da8e646a6f6fd3852af3326f9630e274.tar.bz2 scummvm-rg350-469b1420da8e646a6f6fd3852af3326f9630e274.zip |
Fix sound glitch in PC demo of FT
svn-id: r21506
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/insane/insane_ben.cpp | 3 | ||||
-rw-r--r-- | engines/scumm/insane/insane_enemy.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/scumm/insane/insane_ben.cpp b/engines/scumm/insane/insane_ben.cpp index b2ed722e70..64566fe628 100644 --- a/engines/scumm/insane/insane_ben.cpp +++ b/engines/scumm/insane/insane_ben.cpp @@ -558,7 +558,8 @@ void Insane::actor02Reaction(int32 buttons) { _actor[0].weaponClass = 1; _actor[0].act[2].state = 3; _actor[0].act[2].tilt = calcTilt(_actor[0].tilt); - smlayer_startSfx(63); + if (!((_vm->_game.features & GF_DEMO) && (_vm->_game.platform == Common::kPlatformPC))) + smlayer_startSfx(63); break; case 3: smlayer_setActorLayer(0, 2, 4); diff --git a/engines/scumm/insane/insane_enemy.cpp b/engines/scumm/insane/insane_enemy.cpp index 2b12754131..90fc4a4689 100644 --- a/engines/scumm/insane/insane_enemy.cpp +++ b/engines/scumm/insane/insane_enemy.cpp @@ -1693,7 +1693,8 @@ void Insane::actor12Reaction(int32 buttons) { _actor[1].weaponClass = 1; _actor[1].act[2].state = 3; _actor[1].act[2].tilt = calcTilt(_actor[1].tilt); - smlayer_startSfx(63); + if (!((_vm->_game.features & GF_DEMO) && (_vm->_game.platform == Common::kPlatformPC))) + smlayer_startSfx(63); break; case 3: smlayer_setActorLayer(1, 2, 4); |