diff options
author | Travis Howell | 2004-08-08 02:21:26 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-08 02:21:26 +0000 |
commit | 0a89fea43b6c4a38fd4317c6a2eda01c0f8df03a (patch) | |
tree | c5e2d224646de8c898e38335c9f02696804156b0 /scumm | |
parent | d92d3b6b9a05d8c86ee68acc99a71b4279cc96d7 (diff) | |
download | scummvm-rg350-0a89fea43b6c4a38fd4317c6a2eda01c0f8df03a.tar.gz scummvm-rg350-0a89fea43b6c4a38fd4317c6a2eda01c0f8df03a.tar.bz2 scummvm-rg350-0a89fea43b6c4a38fd4317c6a2eda01c0f8df03a.zip |
Non-interactive INSANE sequence in PC FT demo works now.
svn-id: r14509
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/insane/insane_iact.cpp | 3 | ||||
-rw-r--r-- | scumm/insane/insane_scenes.cpp | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/scumm/insane/insane_iact.cpp b/scumm/insane/insane_iact.cpp index 60115d740f..95437a644d 100644 --- a/scumm/insane/insane_iact.cpp +++ b/scumm/insane/insane_iact.cpp @@ -379,6 +379,9 @@ void Insane::iactScene4(byte *renderBitmap, int32 codecparam, int32 setupsan12, int32 setupsan13, Chunk &b, int32 size, int32 flags) { _player->checkBlock(b, TYPE_IACT, 8); + if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) + return; + int16 par1, par2, par3, par4, par5; par1 = b.getWord(); // edx diff --git a/scumm/insane/insane_scenes.cpp b/scumm/insane/insane_scenes.cpp index ddf1e385b8..ff4beab914 100644 --- a/scumm/insane/insane_scenes.cpp +++ b/scumm/insane/insane_scenes.cpp @@ -1135,8 +1135,11 @@ void Insane::postCase20(byte *renderBitmap, int32 codecparam, int32 setupsan12, void Insane::postCase3(byte *renderBitmap, int32 codecparam, int32 setupsan12, int32 setupsan13, int32 curFrame, int32 maxFrame) { - turnBen(true); - + if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) + turnBen(false); + else + turnBen(true); + if (_actor[0].x >= 158 && _actor[0].x <= 168) { if (!smlayer_isSoundRunning(86)) smlayer_startSfx(86); |