[Scummvm-git-logs] scummvm master -> 96a8b91fbec2d710e9805b8edf14167b24d438fa

antoniou79 antoniou at cti.gr
Wed Jul 10 23:55:39 CEST 2019


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

Summary:
96a8b91fbe BLADERUNNER: Spinner outtake bug in CT01 start of Act3


Commit: 96a8b91fbec2d710e9805b8edf14167b24d438fa
    https://github.com/scummvm/scummvm/commit/96a8b91fbec2d710e9805b8edf14167b24d438fa
Author: Thanasis Antoniou (a.antoniou79 at gmail.com)
Date: 2019-07-11T00:54:37+03:00

Commit Message:
BLADERUNNER: Spinner outtake bug in CT01 start of Act3

Changed paths:
    engines/bladerunner/script/scene/ct08.cpp
    engines/bladerunner/script/scene/ct12.cpp
    engines/bladerunner/script/scene/tb02.cpp


diff --git a/engines/bladerunner/script/scene/ct08.cpp b/engines/bladerunner/script/scene/ct08.cpp
index 8fb8569..0de18aa 100644
--- a/engines/bladerunner/script/scene/ct08.cpp
+++ b/engines/bladerunner/script/scene/ct08.cpp
@@ -192,6 +192,8 @@ void SceneScriptCT08::PlayerWalkedIn() {
 		Game_Flag_Reset(kFlagCT06toCT08);
 #if BLADERUNNER_ORIGINAL_BUGS
 #else
+		// The player is now (teleported) in Chinatown (CT08) but the flag was not set here
+		Game_Flag_Set(kFlagMcCoyInChinaTown);
 		// if player clicked through fast enough in BB roof encounter, the fight music would be (auto-)saved here
 		// and would be restored when loading the auto-save
 		Music_Stop(0);
diff --git a/engines/bladerunner/script/scene/ct12.cpp b/engines/bladerunner/script/scene/ct12.cpp
index 4a47348..ac8e705 100644
--- a/engines/bladerunner/script/scene/ct12.cpp
+++ b/engines/bladerunner/script/scene/ct12.cpp
@@ -342,6 +342,13 @@ void SceneScriptCT12::PlayerWalkedOut() {
 		Game_Flag_Reset(kFlagMcCoyInChinaTown);
 		Game_Flag_Set(kFlagMcCoyInUnderground);
 	}
+#if BLADERUNNER_ORIGINAL_BUGS
+#else
+	// this enforces existing awry saved games from having a bad flag value
+	else {
+		Game_Flag_Set(kFlagMcCoyInChinaTown);
+	}
+#endif // BLADERUNNER_ORIGINAL_BUGS
 }
 
 void SceneScriptCT12::DialogueQueueFlushed(int a1) {
diff --git a/engines/bladerunner/script/scene/tb02.cpp b/engines/bladerunner/script/scene/tb02.cpp
index cf3914b..28c84d5 100644
--- a/engines/bladerunner/script/scene/tb02.cpp
+++ b/engines/bladerunner/script/scene/tb02.cpp
@@ -389,7 +389,7 @@ void SceneScriptTB02::PlayerWalkedOut() {
 	    && !Game_Flag_Query(kFlagMcCoyInTyrellBuilding)
 	) {
 		// Acts 2, 3 - use a spinner fly-through transition
-		Outtake_Play(kOuttakeTowards3, true, -1);  // available in Acts 1, 2, 3
+		Outtake_Play(kOuttakeTowards3, true, -1); // available in Acts 1, 2, 3
 	}
 #endif // BLADERUNNER_ORIGINAL_BUGS
 }





More information about the Scummvm-git-logs mailing list