aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai
diff options
context:
space:
mode:
authorantoniou792019-04-29 15:27:01 +0300
committerantoniou792019-04-29 15:27:47 +0300
commitd4d521b5629bfd00b6cc1e603ee1c3f90b7247e3 (patch)
tree7a1cc5a750057f275d9cb0819dbd1051fd72e79b /engines/bladerunner/script/ai
parent1def8486916a57ef30b37fd46f3162fd937dac51 (diff)
downloadscummvm-rg350-d4d521b5629bfd00b6cc1e603ee1c3f90b7247e3.tar.gz
scummvm-rg350-d4d521b5629bfd00b6cc1e603ee1c3f90b7247e3.tar.bz2
scummvm-rg350-d4d521b5629bfd00b6cc1e603ee1c3f90b7247e3.zip
BLADERUNNER: Chess, keyboard, and clues bug fixes
Diffstat (limited to 'engines/bladerunner/script/ai')
-rw-r--r--engines/bladerunner/script/ai/sadik.cpp10
-rw-r--r--engines/bladerunner/script/ai/sebastian.cpp2
2 files changed, 7 insertions, 5 deletions
diff --git a/engines/bladerunner/script/ai/sadik.cpp b/engines/bladerunner/script/ai/sadik.cpp
index 85c1e58a97..c4a2b99fa8 100644
--- a/engines/bladerunner/script/ai/sadik.cpp
+++ b/engines/bladerunner/script/ai/sadik.cpp
@@ -189,20 +189,22 @@ bool AIScriptSadik::ShotAtAndHit() {
if (Actor_Query_Goal_Number(kActorSadik) == kGoalSadikUG18Move) {
// this lowers Sadik's original health but makes it impossible to kill him here (UG18)
if (Game_Flag_Query(kFlagSadikIsReplicant)) {
-#if BLADERUNNER_ORIGINAL_BUGS // Sadik killed in BB09 dead end bug fix
+#if BLADERUNNER_ORIGINAL_BUGS
Actor_Set_Health(kActorSadik, 60, 60);
#else
- if (Actor_Query_Current_HP(kActorSadik) == 60) { // shot also at Bradburry, so lower his health further
+ // Sadik killed in BB09 dead end bug fix
+ if (Actor_Query_Current_HP(kActorSadik) == 60) { // shot also at Bradbury, so lower his health further
Actor_Set_Health(kActorSadik, 50, 50);
} else {
Actor_Set_Health(kActorSadik, 60, 60);
}
#endif
} else {
-#if BLADERUNNER_ORIGINAL_BUGS // Sadik killed in BB09 dead end bug fix
+#if BLADERUNNER_ORIGINAL_BUGS
Actor_Set_Health(kActorSadik, 40, 40);
#else
- if (Actor_Query_Current_HP(kActorSadik) == 40) { // shot also at Bradburry, so lower his health further
+ // Sadik killed in BB09 dead end bug fix
+ if (Actor_Query_Current_HP(kActorSadik) == 40) { // shot also at Bradbury, so lower his health further
Actor_Set_Health(kActorSadik, 30, 30);
} else {
Actor_Set_Health(kActorSadik, 40, 40);
diff --git a/engines/bladerunner/script/ai/sebastian.cpp b/engines/bladerunner/script/ai/sebastian.cpp
index d2560fdc74..4f2cc0ab80 100644
--- a/engines/bladerunner/script/ai/sebastian.cpp
+++ b/engines/bladerunner/script/ai/sebastian.cpp
@@ -425,7 +425,7 @@ void AIScriptSebastian::dialogue() {
Actor_Says_With_Pause(kActorSebastian, 370, 0.30f, 13);
Actor_Says_With_Pause(kActorSebastian, 380, 0.70f, 17);
Actor_Says(kActorSebastian, 390, 14);
- if (Actor_Clue_Query(kActorMcCoy, kClueChessTable)) { // cut feature? it is impossible to obtain this clue
+ if (Actor_Clue_Query(kActorMcCoy, kClueChessTable)) {
Actor_Says(kActorMcCoy, 7140, kAnimationModeTalk);
Actor_Says(kActorSebastian, 400, 12);
Actor_Says(kActorMcCoy, 7145, 16);