diff options
author | Eugene Sandulenko | 2013-03-30 17:10:30 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-03-30 17:10:30 +0200 |
commit | 880f2641502c3c946bc1b619a13f704007f791f5 (patch) | |
tree | 176974053a7e5fbf7b9caf4a3028856da1da5e00 | |
parent | a36a7253e479d823a5e93104a166a6198663a3c2 (diff) | |
download | scummvm-rg350-880f2641502c3c946bc1b619a13f704007f791f5.tar.gz scummvm-rg350-880f2641502c3c946bc1b619a13f704007f791f5.tar.bz2 scummvm-rg350-880f2641502c3c946bc1b619a13f704007f791f5.zip |
SCUMM: Fix more bugs in INSANE
-rw-r--r-- | engines/scumm/insane/insane_ben.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/insane/insane_ben.cpp b/engines/scumm/insane/insane_ben.cpp index 48aaab505a..e88a1d3294 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); |