From 19d92484fdbae556a5238b13535e34f8436f399b Mon Sep 17 00:00:00 2001 From: Peter Kohaut Date: Sat, 2 Feb 2019 00:17:18 +0100 Subject: BLADERUNNER: Cleanup of scripts at start of chapter 4 --- engines/bladerunner/script/scene/ug14.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/bladerunner/script/scene/ug14.cpp') diff --git a/engines/bladerunner/script/scene/ug14.cpp b/engines/bladerunner/script/scene/ug14.cpp index 914cf10045..d850df0eb5 100644 --- a/engines/bladerunner/script/scene/ug14.cpp +++ b/engines/bladerunner/script/scene/ug14.cpp @@ -83,7 +83,7 @@ bool SceneScriptUG14::ClickedOnExit(int exitId) { bool v1 = y > 57.0f; - if (!exitId == 0) { + if (exitId == 0) { if (v1) { if (Loop_Actor_Walk_To_XYZ(kActorMcCoy, 141.47f, 128.92f, -150.16f, 0, true, false, 0)) { return false; @@ -133,6 +133,7 @@ bool SceneScriptUG14::ClickedOnExit(int exitId) { Loop_Actor_Travel_Stairs(kActorMcCoy, 13, true, kAnimationModeIdle); Footstep_Sound_Override_Off(); } + if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 157.0f, 128.92f, -108.01f, 0, true, false, 0)) { Footstep_Sound_Override_On(3); Loop_Actor_Travel_Stairs(kActorMcCoy, 6, true, kAnimationModeIdle); -- cgit v1.2.3