diff options
author | Peter Kohaut | 2019-01-31 17:24:53 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-31 21:27:31 +0100 |
commit | 49d01c3c135633b3951fbf797eb5735db2a9470e (patch) | |
tree | 68d3cbfa17985ad374f220237b26e4f9a36ab32d /engines/bladerunner/script/ai/izo.cpp | |
parent | 3fc1fbb8daae93e02985379aed4b8a6feab5cb24 (diff) | |
download | scummvm-rg350-49d01c3c135633b3951fbf797eb5735db2a9470e.tar.gz scummvm-rg350-49d01c3c135633b3951fbf797eb5735db2a9470e.tar.bz2 scummvm-rg350-49d01c3c135633b3951fbf797eb5735db2a9470e.zip |
BLADERUNNER: Cleanup of Dektora chase related scripts
Diffstat (limited to 'engines/bladerunner/script/ai/izo.cpp')
-rw-r--r-- | engines/bladerunner/script/ai/izo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/bladerunner/script/ai/izo.cpp b/engines/bladerunner/script/ai/izo.cpp index 88070113cc..f7bbfce855 100644 --- a/engines/bladerunner/script/ai/izo.cpp +++ b/engines/bladerunner/script/ai/izo.cpp @@ -60,7 +60,7 @@ bool AIScriptIzo::Update() { } if (Global_Variable_Query(kVariableChapter) == 1 - && Actor_Query_Goal_Number(kActorIzo) == kGoalIzoDead + && Actor_Query_Goal_Number(kActorIzo) == kGoalIzoGone && Actor_Query_Which_Set_In(kActorIzo) == kSetRC03 ) { Actor_Put_In_Set(kActorIzo, kSetFreeSlotI); @@ -74,7 +74,7 @@ bool AIScriptIzo::Update() { } if (Global_Variable_Query(kVariableChapter) == 4 - && Actor_Query_Goal_Number(kActorIzo) < kGoalIzoDead + && Actor_Query_Goal_Number(kActorIzo) < kGoalIzoGone && Actor_Query_Goal_Number(kActorIzo) < 300 && Actor_Query_Goal_Number(kActorIzo) != kGoalIzoGotArrested ) { @@ -239,7 +239,7 @@ void AIScriptIzo::Retired(int byActorId) { } Global_Variable_Decrement(kVariableReplicants, 1); - Actor_Set_Goal_Number(kActorIzo, kGoalIzoDead); + Actor_Set_Goal_Number(kActorIzo, kGoalIzoGone); if (Global_Variable_Query(kVariableReplicants) == 0) { Player_Loses_Control(); @@ -434,7 +434,7 @@ bool AIScriptIzo::GoalChanged(int currentGoalNumber, int newGoalNumber) { return true; case 999: - Actor_Set_Goal_Number(kActorIzo, kGoalIzoDead); + Actor_Set_Goal_Number(kActorIzo, kGoalIzoGone); return true; case 9999: |