diff options
author | Peter Kohaut | 2019-01-31 00:19:38 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-31 21:27:31 +0100 |
commit | 3fc1fbb8daae93e02985379aed4b8a6feab5cb24 (patch) | |
tree | 07e2247045ce2e34c8379b8fcc36d82e6bf51d3a /engines/bladerunner/script/ai/holloway.cpp | |
parent | b16b26ac722a381c4ab43e66886b3012962556ed (diff) | |
download | scummvm-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.cpp | 3 |
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(); |