diff options
author | Thanasis Antoniou | 2019-05-09 11:48:34 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-05-09 11:51:35 +0300 |
commit | 6e84264735986f165b6fe1cf8793337efb1d7875 (patch) | |
tree | bf816cd9d25fae60dfa7162e2e26f15d2d65abd7 /engines/bladerunner/script/scene/rc01.cpp | |
parent | 1b4a5201405f1e8a0c0e8e716ebf5565dca3d7a6 (diff) | |
download | scummvm-rg350-6e84264735986f165b6fe1cf8793337efb1d7875.tar.gz scummvm-rg350-6e84264735986f165b6fe1cf8793337efb1d7875.tar.bz2 scummvm-rg350-6e84264735986f165b6fe1cf8793337efb1d7875.zip |
BLADERUNNER: Fix audio clue DoorForced1 post Act 1
Diffstat (limited to 'engines/bladerunner/script/scene/rc01.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/rc01.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/rc01.cpp b/engines/bladerunner/script/scene/rc01.cpp index ee7fe5f957..9bce0be05e 100644 --- a/engines/bladerunner/script/scene/rc01.cpp +++ b/engines/bladerunner/script/scene/rc01.cpp @@ -249,7 +249,10 @@ bool SceneScriptRC01::ClickedOn3DObject(const char *objectName, bool a2) { if (Object_Query_Click("DOOR LEFT", objectName)) { if (!Loop_Actor_Walk_To_Scene_Object(kActorMcCoy, "DOOR LEFT", 48, true, false)) { Actor_Face_Object(kActorMcCoy, "DOOR LEFT", true); - if (!Actor_Clue_Query(kActorMcCoy, kClueDoorForced2) && Actor_Query_In_Set(kActorOfficerLeary, kSetRC01) && Global_Variable_Query(kVariableChapter) > 0) { + if (!Actor_Clue_Query(kActorMcCoy, kClueDoorForced2) + && Actor_Query_In_Set(kActorOfficerLeary, kSetRC01) + && Global_Variable_Query(kVariableChapter) > 0 + ) { #if BLADERUNNER_ORIGINAL_BUGS #else bool officerLearyWasInterrogatingTheCrowd = Actor_Query_Goal_Number(kActorOfficerLeary) == kGoalOfficerLearyRC01CrowdInterrogation @@ -270,8 +273,12 @@ bool SceneScriptRC01::ClickedOn3DObject(const char *objectName, bool a2) { } #if BLADERUNNER_ORIGINAL_BUGS #else - else if (!Actor_Clue_Query(kActorMcCoy, kClueDoorForced2) && !Actor_Clue_Query(kActorMcCoy, kClueDoorForced1) && !Actor_Query_In_Set(kActorOfficerLeary, kSetRC01) && Global_Variable_Query(kVariableChapter) == 1) { + else if (!Actor_Clue_Query(kActorMcCoy, kClueDoorForced2) + && !Actor_Clue_Query(kActorMcCoy, kClueDoorForced1) + && !Actor_Query_In_Set(kActorOfficerLeary, kSetRC01) + && Global_Variable_Query(kVariableChapter) == 1) { if (_vm->_cutContent) { + // keep in mind, this line in only available in Act 1 Actor_Voice_Over(1870, kActorVoiceOver); } else { Actor_Says(kActorMcCoy, 8570, 14); |