diff options
Diffstat (limited to 'engines/scumm/insane/insane_ben.cpp')
-rw-r--r-- | engines/scumm/insane/insane_ben.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/scumm/insane/insane_ben.cpp b/engines/scumm/insane/insane_ben.cpp index 48aaab505a..9d11f14e4e 100644 --- a/engines/scumm/insane/insane_ben.cpp +++ b/engines/scumm/insane/insane_ben.cpp @@ -634,7 +634,7 @@ void Insane::actor02Reaction(int32 buttons) { _actor[0].newFacingFlag = 1; _actor[0].kicking = false; if ((_actor[0].act[2].frame == 3) && (calcEnemyDamage(0, 0) == 1)) { - _actor[1].damage = weaponDamage(0); + _actor[1].damage += weaponDamage(0); smlayer_startSfx(64); _actor[1].cursorX = 320; } @@ -805,7 +805,7 @@ void Insane::actor02Reaction(int32 buttons) { if ((_actor[1].x - _actor[0].x <= weaponMaxRange(0)) && (_actor[1].x - _actor[0].x >= weaponMinRange(0))) { smlayer_startSfx(76); - _actor[1].damage = weaponDamage(0); + _actor[1].damage += weaponDamage(0); } break; default: @@ -813,7 +813,7 @@ void Insane::actor02Reaction(int32 buttons) { smlayer_startSfx(76); break; } - smlayer_setActorFacing(0, 2, 21,180); + smlayer_setActorFacing(0, 2, 21, 180); _actor[0].act[2].state = 17; } _actor[0].act[2].tilt = calcTilt(_actor[0].tilt); @@ -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)) |