diff options
author | Thanasis Antoniou | 2019-06-01 21:36:46 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-06-01 21:36:46 +0300 |
commit | 438a6223cbb5a822aa3506352e743e20f4d2da6e (patch) | |
tree | 06f5be5f156e7ad5e52e3a6bccc89aff0bcef89d /engines/bladerunner/script/scene/ug03.cpp | |
parent | 4adf49c14997f4ddfa27592e57976ba97b6035c6 (diff) | |
download | scummvm-rg350-438a6223cbb5a822aa3506352e743e20f4d2da6e.tar.gz scummvm-rg350-438a6223cbb5a822aa3506352e743e20f4d2da6e.tar.bz2 scummvm-rg350-438a6223cbb5a822aa3506352e743e20f4d2da6e.zip |
BLADERUNNER: Fix photographer bug and awry clickables
Diffstat (limited to 'engines/bladerunner/script/scene/ug03.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ug03.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/engines/bladerunner/script/scene/ug03.cpp b/engines/bladerunner/script/scene/ug03.cpp index daeab009e2..ed3c0d5699 100644 --- a/engines/bladerunner/script/scene/ug03.cpp +++ b/engines/bladerunner/script/scene/ug03.cpp @@ -69,6 +69,16 @@ void SceneScriptUG03::SceneLoaded() { Clickable_Object("CHAIR_SEAT"); Clickable_Object("CHAIR_STRAPLEGLEFT"); Clickable_Object("CHAIR_STRAPLEGRIGHT"); +#if BLADERUNNER_ORIGINAL_BUGS +#else + if (Actor_Clue_Query(kActorMcCoy, kClueScaryChair)) { + Unclickable_Object("CHAIR_HEADZAPPER"); + Unclickable_Object("CHAIR_BACK"); + Unclickable_Object("CHAIR_SEAT"); + Unclickable_Object("CHAIR_STRAPLEGLEFT"); + Unclickable_Object("CHAIR_STRAPLEGRIGHT"); + } +#endif // BLADERUNNER_ORIGINAL_BUGS } bool SceneScriptUG03::MouseClick(int x, int y) { @@ -79,6 +89,11 @@ bool SceneScriptUG03::ClickedOn3DObject(const char *objectName, bool a2) { if (Object_Query_Click("CHAIR_BACK", objectName) || Object_Query_Click("CHAIR_SEAT", objectName) || Object_Query_Click("CHAIR_HEADZAPPER", objectName) +#if BLADERUNNER_ORIGINAL_BUGS +#else + || Object_Query_Click("CHAIR_STRAPLEGLEFT", objectName) + || Object_Query_Click("CHAIR_STRAPLEGRIGHT", objectName) +#endif // BLADERUNNER_ORIGINAL_BUGS ) { if (!Loop_Actor_Walk_To_Scene_Object(kActorMcCoy, "CHAIR_BACK", 36, true, false)) { Actor_Face_Object(kActorMcCoy, "CHAIR_BACK", true); @@ -89,6 +104,14 @@ bool SceneScriptUG03::ClickedOn3DObject(const char *objectName, bool a2) { Actor_Voice_Over(2580, kActorVoiceOver); Actor_Voice_Over(2590, kActorVoiceOver); Actor_Clue_Acquire(kActorMcCoy, kClueScaryChair, true, -1); +#if BLADERUNNER_ORIGINAL_BUGS +#else + Unclickable_Object("CHAIR_HEADZAPPER"); + Unclickable_Object("CHAIR_BACK"); + Unclickable_Object("CHAIR_SEAT"); + Unclickable_Object("CHAIR_STRAPLEGLEFT"); + Unclickable_Object("CHAIR_STRAPLEGRIGHT"); +#endif // BLADERUNNER_ORIGINAL_BUGS } } } |