From b04be6f9e1e50f93fb9a57471907d5789c93e120 Mon Sep 17 00:00:00 2001 From: Thanasis Antoniou Date: Wed, 4 Sep 2019 19:14:43 +0300 Subject: BLADERUNNER: Add comment for redundancy in actor's health init --- engines/bladerunner/script/init_script.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/bladerunner') 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); -- cgit v1.2.3