aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-08-08 02:21:26 +0000
committerTravis Howell2004-08-08 02:21:26 +0000
commit0a89fea43b6c4a38fd4317c6a2eda01c0f8df03a (patch)
treec5e2d224646de8c898e38335c9f02696804156b0
parentd92d3b6b9a05d8c86ee68acc99a71b4279cc96d7 (diff)
downloadscummvm-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
-rw-r--r--scumm/insane/insane_iact.cpp3
-rw-r--r--scumm/insane/insane_scenes.cpp7
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);