diff options
author | Thanasis Antoniou | 2019-03-29 13:07:18 +0200 |
---|---|---|
committer | Thanasis Antoniou | 2019-03-30 01:32:50 +0200 |
commit | 39a8235acc28f4048fdea3e971d25ff213efa96a (patch) | |
tree | 86387af7e06592d382907fab0521573d5d26dc22 /engines/bladerunner/script/ai | |
parent | 3209bfb730807d4a82e535525c3612fe7786133b (diff) | |
download | scummvm-rg350-39a8235acc28f4048fdea3e971d25ff213efa96a.tar.gz scummvm-rg350-39a8235acc28f4048fdea3e971d25ff213efa96a.tar.bz2 scummvm-rg350-39a8235acc28f4048fdea3e971d25ff213efa96a.zip |
BLADERUNNER: Fix spelling of kVariableReplicantsSurvivorsAtMoonbus
Diffstat (limited to 'engines/bladerunner/script/ai')
-rw-r--r-- | engines/bladerunner/script/ai/clovis.cpp | 12 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/dektora.cpp | 4 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/gordo.cpp | 4 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/izo.cpp | 4 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/lucy.cpp | 4 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/luther.cpp | 4 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/sadik.cpp | 4 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/zuben.cpp | 4 |
8 files changed, 20 insertions, 20 deletions
diff --git a/engines/bladerunner/script/ai/clovis.cpp b/engines/bladerunner/script/ai/clovis.cpp index a912c654f2..9557bbbd2a 100644 --- a/engines/bladerunner/script/ai/clovis.cpp +++ b/engines/bladerunner/script/ai/clovis.cpp @@ -188,10 +188,10 @@ bool AIScriptClovis::ShotAtAndHit() { void AIScriptClovis::Retired(int byActorId) { if (Game_Flag_Query(kFlagMcCoyIsHelpingReplicants)) { if (Actor_Query_In_Set(kActorClovis, kSetKP07)) { - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_Goal_Number(kActorClovis, kGoalClovisGone); - if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoobus) == 0) { + if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) { Player_Loses_Control(); Delay(2000); Player_Set_Combat_Mode(false); @@ -390,8 +390,8 @@ bool AIScriptClovis::GoalChanged(int currentGoalNumber, int newGoalNumber) { Actor_Put_In_Set(kActorClovis, kSetKP07); Actor_Set_Targetable(kActorClovis, true); if (Game_Flag_Query(kFlagMcCoyIsHelpingReplicants)) { - Global_Variable_Set(kVariableReplicantsSurvivorsAtMoobus, 0); - Global_Variable_Increment(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Set(kVariableReplicantsSurvivorsAtMoonbus, 0); + Global_Variable_Increment(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_At_XYZ(kActorClovis, 45.0f, -41.52f, -85.0f, 750); } else { Actor_Set_At_XYZ(kActorClovis, 84.85f, -50.56f, -68.87f, 800); @@ -461,7 +461,7 @@ bool AIScriptClovis::GoalChanged(int currentGoalNumber, int newGoalNumber) { // Lucy's retirement on the moonbus should be handled in her ai script AIScriptLucy::Retired() // like the others - even if she won't attack McCoy, she should be retired immediately (with one shot) Actor_Set_Goal_Number(kActorLucy, kGoalLucyGone); - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); #else // This is her code if she's attacked when escaping with McCoy // will this work? @@ -476,7 +476,7 @@ bool AIScriptClovis::GoalChanged(int currentGoalNumber, int newGoalNumber) { // Luther's retirement on the moonbus should be handled in his ai script AIScriptLuther:Retired() // like the others - even if he won't attack McCoy, he should be retired immediately (with one shot) Actor_Set_Goal_Number(kActorLuther, kGoalLutherGone); - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); #endif // BLADERUNNER_ORIGINAL_BUGS } diff --git a/engines/bladerunner/script/ai/dektora.cpp b/engines/bladerunner/script/ai/dektora.cpp index 01d769b935..54fa6d6c30 100644 --- a/engines/bladerunner/script/ai/dektora.cpp +++ b/engines/bladerunner/script/ai/dektora.cpp @@ -294,10 +294,10 @@ void AIScriptDektora::Retired(int byActorId) { } if (Actor_Query_In_Set(kActorDektora, kSetKP07)) { - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_Goal_Number(kActorDektora, kGoalDektoraGone); - if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoobus) == 0) { + if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) { Player_Loses_Control(); Delay(2000); Player_Set_Combat_Mode(false); diff --git a/engines/bladerunner/script/ai/gordo.cpp b/engines/bladerunner/script/ai/gordo.cpp index 3d2dcd2a7a..a2573d11ac 100644 --- a/engines/bladerunner/script/ai/gordo.cpp +++ b/engines/bladerunner/script/ai/gordo.cpp @@ -288,9 +288,9 @@ void AIScriptGordo::Retired(int byActorId) { } if (Actor_Query_In_Set(kActorGordo, kSetKP07)) { - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_Goal_Number(kActorGordo, kGoalGordoGone); - if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoobus) == 0) { + if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) { Player_Loses_Control(); Delay(2000); Player_Set_Combat_Mode(false); diff --git a/engines/bladerunner/script/ai/izo.cpp b/engines/bladerunner/script/ai/izo.cpp index d02145b10f..ec7bb30e37 100644 --- a/engines/bladerunner/script/ai/izo.cpp +++ b/engines/bladerunner/script/ai/izo.cpp @@ -238,10 +238,10 @@ void AIScriptIzo::Retired(int byActorId) { return; //false; } - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_Goal_Number(kActorIzo, kGoalIzoGone); - if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoobus) == 0) { + if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) { Player_Loses_Control(); Delay(2000); Player_Set_Combat_Mode(false); diff --git a/engines/bladerunner/script/ai/lucy.cpp b/engines/bladerunner/script/ai/lucy.cpp index 928a425db1..ab007e1468 100644 --- a/engines/bladerunner/script/ai/lucy.cpp +++ b/engines/bladerunner/script/ai/lucy.cpp @@ -252,10 +252,10 @@ void AIScriptLucy::Retired(int byActorId) { #if BLADERUNNER_ORIGINAL_BUGS #else if (Actor_Query_In_Set(kActorLucy, kSetKP07)) { - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_Goal_Number(kActorLucy, kGoalLucyGone); - if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoobus) == 0) { + if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) { Player_Loses_Control(); Delay(2000); Player_Set_Combat_Mode(false); diff --git a/engines/bladerunner/script/ai/luther.cpp b/engines/bladerunner/script/ai/luther.cpp index c3db51951d..f868953ccb 100644 --- a/engines/bladerunner/script/ai/luther.cpp +++ b/engines/bladerunner/script/ai/luther.cpp @@ -194,10 +194,10 @@ void AIScriptLuther::Retired(int byActorId) { #if BLADERUNNER_ORIGINAL_BUGS #else if (Actor_Query_In_Set(kActorLuther, kSetKP07)) { - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_Goal_Number(kActorLuther, kGoalLutherGone); - if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoobus) == 0) { + if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) { Player_Loses_Control(); Delay(2000); Player_Set_Combat_Mode(false); diff --git a/engines/bladerunner/script/ai/sadik.cpp b/engines/bladerunner/script/ai/sadik.cpp index 2b223649a1..fb34ae4ade 100644 --- a/engines/bladerunner/script/ai/sadik.cpp +++ b/engines/bladerunner/script/ai/sadik.cpp @@ -234,10 +234,10 @@ void AIScriptSadik::Retired(int byActorId) { } if (Actor_Query_In_Set(kActorSadik, kSetKP07)) { - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); // can't Sadik still be human (Rep-sympathiser here? A bug? + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); // can't Sadik still be human (Rep-sympathiser here? A bug? Actor_Set_Goal_Number(kActorSadik, kGoalSadikGone); - if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoobus) == 0) { + if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) { Player_Loses_Control(); Delay(2000); Player_Set_Combat_Mode(false); diff --git a/engines/bladerunner/script/ai/zuben.cpp b/engines/bladerunner/script/ai/zuben.cpp index 777433fe41..b80baa323b 100644 --- a/engines/bladerunner/script/ai/zuben.cpp +++ b/engines/bladerunner/script/ai/zuben.cpp @@ -295,9 +295,9 @@ void AIScriptZuben::Retired(int byActorId) { // return false; return; } - Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoobus, 1); + Global_Variable_Decrement(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_Goal_Number(kActorZuben, kGoalZubenGone); - if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoobus) == 0) { + if (Global_Variable_Query(kVariableReplicantsSurvivorsAtMoonbus) == 0) { Player_Loses_Control(); Delay(2000); Player_Set_Combat_Mode(false); |