aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai/holloway.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-31 00:19:38 +0100
committerPeter Kohaut2019-01-31 21:27:31 +0100
commit3fc1fbb8daae93e02985379aed4b8a6feab5cb24 (patch)
tree07e2247045ce2e34c8379b8fcc36d82e6bf51d3a /engines/bladerunner/script/ai/holloway.cpp
parentb16b26ac722a381c4ab43e66886b3012962556ed (diff)
downloadscummvm-rg350-3fc1fbb8daae93e02985379aed4b8a6feab5cb24.tar.gz
scummvm-rg350-3fc1fbb8daae93e02985379aed4b8a6feab5cb24.tar.bz2
scummvm-rg350-3fc1fbb8daae93e02985379aed4b8a6feab5cb24.zip
BLADERUNNER: Clean up of Dektora script
Diffstat (limited to 'engines/bladerunner/script/ai/holloway.cpp')
-rw-r--r--engines/bladerunner/script/ai/holloway.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/bladerunner/script/ai/holloway.cpp b/engines/bladerunner/script/ai/holloway.cpp
index 3b3724492c..425100338f 100644
--- a/engines/bladerunner/script/ai/holloway.cpp
+++ b/engines/bladerunner/script/ai/holloway.cpp
@@ -177,9 +177,10 @@ bool AIScriptHolloway::GoalChanged(int currentGoalNumber, int newGoalNumber) {
Outtake_Play(kOuttakeInterrogation, 0, 1);
if (Global_Variable_Query(kVariableHollowayArrest) == 1) {
- Actor_Set_Goal_Number(kActorDektora, 245);
+ Actor_Set_Goal_Number(kActorDektora, kGoalDektoraNR08ReadyToRun);
Actor_Change_Animation_Mode(kActorDektora, kAnimationModeIdle);
}
+
Player_Gains_Control();
Game_Flag_Set(kFlagMcCoyCapturedByHolloway);
Scene_Exits_Enable();