aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-03-30 23:41:59 +0200
committerEugene Sandulenko2013-04-02 00:18:50 +0300
commitd8d5012fc7a8651778402b4c1214ec7d9fd93ac4 (patch)
treeeaeb16aa6d6b04a2b5c9a092aa46b97f5cc6e6e7
parent7036047e1519febc172034397d71e6ec1a5a3409 (diff)
downloadscummvm-rg350-d8d5012fc7a8651778402b4c1214ec7d9fd93ac4.tar.gz
scummvm-rg350-d8d5012fc7a8651778402b4c1214ec7d9fd93ac4.tar.bz2
scummvm-rg350-d8d5012fc7a8651778402b4c1214ec7d9fd93ac4.zip
SCUMM: More fixes in INSANE
-rw-r--r--engines/scumm/insane/insane_ben.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/insane/insane_ben.cpp b/engines/scumm/insane/insane_ben.cpp
index e88a1d3294..9d11f14e4e 100644
--- a/engines/scumm/insane/insane_ben.cpp
+++ b/engines/scumm/insane/insane_ben.cpp
@@ -855,7 +855,7 @@ void Insane::actor02Reaction(int32 buttons) {
break;
case INV_CHAINSAW:
if (_actor[1].kicking || _actor[1].field_44)
- _actor[0].act[2].state = 20;
+ _actor[0].act[2].state = 106;
else {
smlayer_setActorFacing(0, 2, 20, 180);
_actor[0].act[2].state = 20;
@@ -1170,11 +1170,12 @@ void Insane::actor02Reaction(int32 buttons) {
if (!smlayer_actorNeedRedraw(0, 2)) {
switchBenWeapon();
- _actor[0].act[2].tilt = 0;
+ _actor[0].act[2].state = 1;
}
_actor[0].act[2].tilt = calcTilt(_actor[0].tilt);
break;
case 36:
+ _actor[0].lost = true;
smlayer_setActorLayer(0, 2, 5);
_actor[0].kicking = false;
if ((_vm->_game.features & GF_DEMO) && (_vm->_game.platform == Common::kPlatformPC))