aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai/tyrell_guard.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-25 23:06:34 +0100
committerPeter Kohaut2019-01-25 23:18:20 +0100
commitcd37d510f93a7e9ba35a442d2a3d15de9f4846da (patch)
tree9f3a6b5c6cc4e02ce0c1fbd4df876eb724e82db7 /engines/bladerunner/script/ai/tyrell_guard.cpp
parent474e4e2f0914a106e02dac2779d58f990e119bf9 (diff)
downloadscummvm-rg350-cd37d510f93a7e9ba35a442d2a3d15de9f4846da.tar.gz
scummvm-rg350-cd37d510f93a7e9ba35a442d2a3d15de9f4846da.tar.bz2
scummvm-rg350-cd37d510f93a7e9ba35a442d2a3d15de9f4846da.zip
BLADERUNNER: Cleanup of actor scripts for a fight in BB11
Also named goal for McCoy arrest
Diffstat (limited to 'engines/bladerunner/script/ai/tyrell_guard.cpp')
-rw-r--r--engines/bladerunner/script/ai/tyrell_guard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/ai/tyrell_guard.cpp b/engines/bladerunner/script/ai/tyrell_guard.cpp
index 0dea8ab4e4..5e40453730 100644
--- a/engines/bladerunner/script/ai/tyrell_guard.cpp
+++ b/engines/bladerunner/script/ai/tyrell_guard.cpp
@@ -119,7 +119,7 @@ bool AIScriptTyrellGuard::GoalChanged(int currentGoalNumber, int newGoalNumber)
Ambient_Sounds_Play_Sound(590, 100, 0, 0, 0);
Delay(1000);
Actor_Force_Stop_Walking(kActorMcCoy);
- Actor_Set_Goal_Number(kActorMcCoy, 500);
+ Actor_Set_Goal_Number(kActorMcCoy, kGoalMcCoyArrested);
return true;
case 302:
AI_Countdown_Timer_Reset(kActorTyrellGuard, 0);
@@ -131,7 +131,7 @@ bool AIScriptTyrellGuard::GoalChanged(int currentGoalNumber, int newGoalNumber)
Ambient_Sounds_Play_Sound(590, 100, 0, 0, 0);
Delay(1000);
Actor_Force_Stop_Walking(kActorMcCoy);
- Actor_Set_Goal_Number(kActorMcCoy, 500);
+ Actor_Set_Goal_Number(kActorMcCoy, kGoalMcCoyArrested);
return true;
case 304:
AI_Countdown_Timer_Reset(kActorTyrellGuard, 1);