aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorThanasis Antoniou2019-09-04 19:14:43 +0300
committerThanasis Antoniou2019-09-05 10:39:51 +0300
commitb04be6f9e1e50f93fb9a57471907d5789c93e120 (patch)
tree06c717656a762756b6f6dae52cbc0df4b615d75a /engines/bladerunner
parent6905c54b1e0a941181ce51e7160b65184e40a7b3 (diff)
downloadscummvm-rg350-b04be6f9e1e50f93fb9a57471907d5789c93e120.tar.gz
scummvm-rg350-b04be6f9e1e50f93fb9a57471907d5789c93e120.tar.bz2
scummvm-rg350-b04be6f9e1e50f93fb9a57471907d5789c93e120.zip
BLADERUNNER: Add comment for redundancy in actor's health init
Diffstat (limited to 'engines/bladerunner')
-rw-r--r--engines/bladerunner/script/init_script.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/bladerunner/script/init_script.cpp b/engines/bladerunner/script/init_script.cpp
index d13251d02c..2ba4b96e60 100644
--- a/engines/bladerunner/script/init_script.cpp
+++ b/engines/bladerunner/script/init_script.cpp
@@ -2983,6 +2983,11 @@ void InitScript::Init_Actor_Health() {
Actor_Set_Health(kActorGenwalkerA, 50, 50);
Actor_Set_Health(kActorGenwalkerB, 50, 50);
Actor_Set_Health(kActorGenwalkerC, 50, 50);
+
+ // A bug? The health for some actors is set again here
+ // with different values except for Izo and kActorOfficerGrayford
+ // rendering the initial setting redundant.
+ // The health of all who can be Replicants will again be set further below (including Izo)
Actor_Set_Health(kActorZuben, 80, 80);
Actor_Set_Health(kActorGordo, 40, 40);
Actor_Set_Health(kActorLucy, 20, 20);
@@ -2993,6 +2998,7 @@ void InitScript::Init_Actor_Health() {
Actor_Set_Health(kActorClovis, 90, 90);
Actor_Set_Health(kActorOfficerLeary, 40, 40);
Actor_Set_Health(kActorOfficerGrayford, 50, 50);
+
Actor_Set_Health(kActorMutant1, 30, 30);
Actor_Set_Health(kActorMutant2, 50, 50);
Actor_Set_Health(kActorMutant3, 20, 20);