diff options
author | Peter Kohaut | 2019-02-01 00:01:22 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-02-02 00:50:16 +0100 |
commit | cd43b7a11a327327635d458571fc8b1ad05ffc76 (patch) | |
tree | 440d51391a67b7c52e085e01b1355d82261add1a /engines/bladerunner/combat.cpp | |
parent | 688db9394c1ba43c7d48d52ebba5b7b467f8186c (diff) | |
download | scummvm-rg350-cd43b7a11a327327635d458571fc8b1ad05ffc76.tar.gz scummvm-rg350-cd43b7a11a327327635d458571fc8b1ad05ffc76.tar.bz2 scummvm-rg350-cd43b7a11a327327635d458571fc8b1ad05ffc76.zip |
BLADERUNNER: Cleanup of walking code
Fixed missing "must reach" in a actorwalk::tick
Diffstat (limited to 'engines/bladerunner/combat.cpp')
-rw-r--r-- | engines/bladerunner/combat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/combat.cpp b/engines/bladerunner/combat.cpp index 90c879f6d1..3bc876f4e8 100644 --- a/engines/bladerunner/combat.cpp +++ b/engines/bladerunner/combat.cpp @@ -75,7 +75,7 @@ void Combat::deactivate() { } void Combat::change() { - if (!_vm->_playerActor->inWalkLoop() && _enabled) { + if (!_vm->_playerActor->mustReachWalkDestination() && _enabled) { if (_active) { deactivate(); } else { |