aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai
diff options
context:
space:
mode:
authorThanasis Antoniou2019-08-13 21:02:23 +0300
committerThanasis Antoniou2019-08-13 21:04:18 +0300
commit67fd0ca34a4fe87cd85a09562ab938853adf314f (patch)
treeaaa133d9c73bf6fad8927f59dc92c6432ecbd59a /engines/bladerunner/script/ai
parente609d0247cfb1250f86072b53138d681cc11c6c0 (diff)
downloadscummvm-rg350-67fd0ca34a4fe87cd85a09562ab938853adf314f.tar.gz
scummvm-rg350-67fd0ca34a4fe87cd85a09562ab938853adf314f.tar.bz2
scummvm-rg350-67fd0ca34a4fe87cd85a09562ab938853adf314f.zip
BLADERUNNER: Prevent Replicants from despawning from the moonbus
All Replicants get a new goal now inside the moonbus, and movement flush This is to prevent earlier scripts that had them "walking around" from kicking in (this was mainly a bug for the twins) but is applied to everyone (except Clovis and Sadik) for conformance
Diffstat (limited to 'engines/bladerunner/script/ai')
-rw-r--r--engines/bladerunner/script/ai/luther.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/script/ai/luther.cpp b/engines/bladerunner/script/ai/luther.cpp
index 694dc6d2b2..2957dcc763 100644
--- a/engines/bladerunner/script/ai/luther.cpp
+++ b/engines/bladerunner/script/ai/luther.cpp
@@ -57,7 +57,7 @@ bool AIScriptLuther::Update() {
}
if (Actor_Query_Goal_Number(kActorLuther) == kGoalLutherDefault
- && Actor_Query_Goal_Number(kActorLuther) != kGoalLutherDead
+ && Actor_Query_Goal_Number(kActorLuther) != kGoalLutherDead // A bug? this is redundant
) {
Actor_Set_Goal_Number(kActorLuther, kGoalLutherMoveAround);
return false;