diff options
author | Peter Kohaut | 2019-01-08 20:49:59 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-08 20:49:59 +0100 |
commit | 03319bcc7d3e12c51995a72b709c633d2f42fd08 (patch) | |
tree | 186de15f278fa5976dd47361d747b53adce7fef4 /engines/bladerunner/combat.cpp | |
parent | d14c6976da1f1bfa5e66ae23b512ab9129eba6a1 (diff) | |
download | scummvm-rg350-03319bcc7d3e12c51995a72b709c633d2f42fd08.tar.gz scummvm-rg350-03319bcc7d3e12c51995a72b709c633d2f42fd08.tar.bz2 scummvm-rg350-03319bcc7d3e12c51995a72b709c633d2f42fd08.zip |
BLADERUNNER: Fixed Zuben death animation
Animation was not playing due to wrong switch statment
Diffstat (limited to 'engines/bladerunner/combat.cpp')
-rw-r--r-- | engines/bladerunner/combat.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/bladerunner/combat.cpp b/engines/bladerunner/combat.cpp index e1dc6b1044..90c879f6d1 100644 --- a/engines/bladerunner/combat.cpp +++ b/engines/bladerunner/combat.cpp @@ -159,10 +159,12 @@ void Combat::shoot(int actorId, Vector3 &to, int screenX) { actor->combatModeOff(); } actor->stopWalking(false); - actor->changeAnimationMode(48, false); + actor->changeAnimationMode(kAnimationModeDie, false); + actor->retire(true, 72, 36, kActorMcCoy); actor->setAtXYZ(actor->getXYZ(), actor->getFacing(), true, false, true); _vm->_sceneObjects->setRetired(actorId + kSceneObjectOffsetActors, true); + sentenceId = 9020; } |