aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorThanasis Antoniou2019-09-08 16:25:03 +0300
committerThanasis Antoniou2019-09-08 16:28:17 +0300
commit58571865fa2abe37bb6bceaaf7ad86e99778821f (patch)
treef1f176f4f9a6ba535948b3cf5cb39ebcab5ff7c2 /engines/bladerunner
parentb77d9d7ce2da1564d9d279cafac7ad3b983633cd (diff)
downloadscummvm-rg350-58571865fa2abe37bb6bceaaf7ad86e99778821f.tar.gz
scummvm-rg350-58571865fa2abe37bb6bceaaf7ad86e99778821f.tar.bz2
scummvm-rg350-58571865fa2abe37bb6bceaaf7ad86e99778821f.zip
BLADERUNNER: Fix McCoy's visibility in BB02 elevator
Diffstat (limited to 'engines/bladerunner')
-rw-r--r--engines/bladerunner/script/scene/bb02.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/bladerunner/script/scene/bb02.cpp b/engines/bladerunner/script/scene/bb02.cpp
index efdb991792..5541830f17 100644
--- a/engines/bladerunner/script/scene/bb02.cpp
+++ b/engines/bladerunner/script/scene/bb02.cpp
@@ -115,6 +115,10 @@ bool SceneScriptBB02::ClickedOnExit(int exitId) {
}
Game_Flag_Set(kFlagBB02toBB04);
Game_Flag_Reset(kFlagBB02ElevatorDown);
+#if BLADERUNNER_ORIGINAL_BUGS
+#else
+ Actor_Set_Invisible(kActorMcCoy, true);
+#endif // BLADERUNNER_ORIGINAL_BUGS
Set_Enter(kSetBB02_BB04_BB06_BB51, kSceneBB04);
Scene_Loop_Start_Special(kSceneLoopModeChangeSet, kBB02LoopElevatorGoingUp, false);
}
@@ -162,6 +166,10 @@ void SceneScriptBB02::PlayerWalkedIn() {
}
void SceneScriptBB02::PlayerWalkedOut() {
+#if BLADERUNNER_ORIGINAL_BUGS
+#else
+ Actor_Set_Invisible(kActorMcCoy, false);
+#endif // BLADERUNNER_ORIGINAL_BUGS
Ambient_Sounds_Remove_All_Non_Looping_Sounds(true);
Ambient_Sounds_Remove_All_Looping_Sounds(1);
}