aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-08 17:29:28 +0100
committerPeter Kohaut2019-01-08 17:32:24 +0100
commiteb653fbfc79da8e7b853f4f9c0c0bf5045f030ec (patch)
treef98ae688cc52629f41188ddf6046fa08cc3bb437
parentdd6794095bdc26b36f262f4e6e39c3c992a60efe (diff)
downloadscummvm-rg350-eb653fbfc79da8e7b853f4f9c0c0bf5045f030ec.tar.gz
scummvm-rg350-eb653fbfc79da8e7b853f4f9c0c0bf5045f030ec.tar.bz2
scummvm-rg350-eb653fbfc79da8e7b853f4f9c0c0bf5045f030ec.zip
BLADERUNNER: Remove right-click walk skip
This feature is not in the original game and it is a bug.
-rw-r--r--engines/bladerunner/bladerunner.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp
index 7130ff7635..bd7379e966 100644
--- a/engines/bladerunner/bladerunner.cpp
+++ b/engines/bladerunner/bladerunner.cpp
@@ -1274,7 +1274,11 @@ void BladeRunnerEngine::handleMouseAction(int x, int y, bool mainButton, bool bu
}
} else if (buttonDown) {
if (_playerActor->inWalkLoop()) {
+ if (!_isWalkingInterruptible) {
+ return;
+ }
_playerActor->stopWalking(false);
+ _interruptWalking = true;
}
_combat->change();
}