aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/vk_script.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-19 23:12:45 +0100
committerPeter Kohaut2019-01-19 23:15:41 +0100
commit5e2fb6fb2672137f9dbcf6f17b8de9c312b236e6 (patch)
tree3ec28e49d9f51e6c40df9c5a0f2da35080d65905 /engines/bladerunner/script/vk_script.cpp
parentf7754012dd1766959aaf4eca8ad3028afab5d7d0 (diff)
downloadscummvm-rg350-5e2fb6fb2672137f9dbcf6f17b8de9c312b236e6.tar.gz
scummvm-rg350-5e2fb6fb2672137f9dbcf6f17b8de9c312b236e6.tar.bz2
scummvm-rg350-5e2fb6fb2672137f9dbcf6f17b8de9c312b236e6.zip
BLADERUNNER: More variable names in the game scripts
Fixed some errors as well
Diffstat (limited to 'engines/bladerunner/script/vk_script.cpp')
-rw-r--r--engines/bladerunner/script/vk_script.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/bladerunner/script/vk_script.cpp b/engines/bladerunner/script/vk_script.cpp
index eef5f5bdaf..2dc2c4b5d4 100644
--- a/engines/bladerunner/script/vk_script.cpp
+++ b/engines/bladerunner/script/vk_script.cpp
@@ -385,19 +385,19 @@ void VKScript::SCRIPT_VK_DLL_Shutdown(int actorId, int humanPercentage, int repl
VK_Play_Speech_Line(kActorAnsweringMachine, 430, 0.5f);
switch (actorId) {
case kActorRunciter:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKRunciterReplicant, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKRunciterReplicant, true, -1);
break;
case kActorBulletBob:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKBobGorskyReplicant, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKBobGorskyReplicant, true, -1);
break;
case kActorGrigorian:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKGrigorianReplicant, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKGrigorianReplicant, true, -1);
break;
case kActorLucy:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKLucyReplicant, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKLucyReplicant, true, -1);
break;
case kActorDektora:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKDektoraReplicant, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKDektoraReplicant, true, -1);
break;
}
} else if (humanPercentage > 79) {
@@ -405,19 +405,19 @@ void VKScript::SCRIPT_VK_DLL_Shutdown(int actorId, int humanPercentage, int repl
VK_Play_Speech_Line(kActorAnsweringMachine, 440, 0.5f);
switch (actorId) {
case kActorRunciter:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKRunciterHuman, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKRunciterHuman, true, -1);
break;
case kActorBulletBob:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKBobGorskyHuman, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKBobGorskyHuman, true, -1);
break;
case kActorGrigorian:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKGrigorianHuman, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKGrigorianHuman, true, -1);
break;
case kActorLucy:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKLucyHuman, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKLucyHuman, true, -1);
break;
case kActorDektora:
- Actor_Clue_Acquire(kActorMcCoy, kClueVKDektoraHuman, 1, -1);
+ Actor_Clue_Acquire(kActorMcCoy, kClueVKDektoraHuman, true, -1);
break;
}
}