[Scummvm-git-logs] scummvm master -> 76028ffd9f5e99dc155f02be2e0f4dda7f9ad488

antoniou79 noreply at scummvm.org
Fri Jul 18 16:51:53 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
76028ffd9f BLADERUNNER: CUTCONTENT: Fix consistency of Guzza's alternate quote


Commit: 76028ffd9f5e99dc155f02be2e0f4dda7f9ad488
    https://github.com/scummvm/scummvm/commit/76028ffd9f5e99dc155f02be2e0f4dda7f9ad488
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2025-07-18T19:51:46+03:00

Commit Message:
BLADERUNNER: CUTCONTENT: Fix consistency of Guzza's alternate quote

Changed paths:
    engines/bladerunner/script/scene/ma04.cpp
    engines/bladerunner/script/scene/ps05.cpp


diff --git a/engines/bladerunner/script/scene/ma04.cpp b/engines/bladerunner/script/scene/ma04.cpp
index 62189954584..573b4881765 100644
--- a/engines/bladerunner/script/scene/ma04.cpp
+++ b/engines/bladerunner/script/scene/ma04.cpp
@@ -592,7 +592,14 @@ void SceneScriptMA04::turnOnTV() {
 			ADQ_Add(kActorNewscaster, 130, kAnimationModeTalk);
 			ADQ_Add(kActorNewscaster, 140, kAnimationModeTalk);
 			ADQ_Add(kActorNewscaster, 150, kAnimationModeTalk);
-			if (_vm->_cutContent && Random_Query(1, 3) == 1) {
+			if (_vm->_cutContent && Game_Flag_Query(kFlagLutherLanceIsReplicant)) {
+				// NOTE This cut content restoration (Guzza saying "No comment") is intentionally
+				// made dependent on the flag for Luther and Lance being Replicants.
+				// This is because the news item can be replayed multiple times,
+				// so making Guzza's alternative quote depend on a random "dice" roll
+				// could create inconsistent statement from Guzza for the same situation.
+				// However, since this is a minor content restoration, not worth using
+				// a separate flag for it, we re-use kFlagLutherLanceIsReplicant here.
 				ADQ_Add(kActorGuzza, 1600, kAnimationModeTalk);
 			} else {
 				ADQ_Add(kActorGuzza, 1570, kAnimationModeTalk);
diff --git a/engines/bladerunner/script/scene/ps05.cpp b/engines/bladerunner/script/scene/ps05.cpp
index 560fbf6d798..8e4ab33e068 100644
--- a/engines/bladerunner/script/scene/ps05.cpp
+++ b/engines/bladerunner/script/scene/ps05.cpp
@@ -247,7 +247,14 @@ void SceneScriptPS05::turnOnTV() {
 				ADQ_Add(kActorNewscaster, 130, kAnimationModeTalk);
 				ADQ_Add(kActorNewscaster, 140, kAnimationModeTalk);
 				ADQ_Add(kActorNewscaster, 150, kAnimationModeTalk);
-				if (_vm->_cutContent && Random_Query(1, 3) == 1) {
+				if (_vm->_cutContent && Game_Flag_Query(kFlagLutherLanceIsReplicant)) {
+					// NOTE This cut content restoration (Guzza saying "No comment") is intentionally
+					// made dependent on the flag for Luther and Lance being Replicants.
+					// This is because the news item can be replayed multiple times,
+					// so making Guzza's alternative quote depend on a random "dice" roll
+					// could create inconsistent statement from Guzza for the same situation.
+					// However, since this is a minor content restoration, not worth using
+					// a separate flag for it, we re-use kFlagLutherLanceIsReplicant here.
 					ADQ_Add(kActorGuzza, 1600, kAnimationModeTalk);
 				} else {
 					ADQ_Add(kActorGuzza, 1570, kAnimationModeTalk);




More information about the Scummvm-git-logs mailing list