From 37ebaa376311c6b033bc6043c09dfd88b3c80726 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 9 Jul 2013 06:28:03 +0300 Subject: NEVERHOOD: Fix incorrect sound heard when pressing the ladder button When the ladder is down, pressing the ladder button shouldn't do anything --- engines/neverhood/modules/module2800.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/neverhood') diff --git a/engines/neverhood/modules/module2800.cpp b/engines/neverhood/modules/module2800.cpp index 7ab732b4ac..a64bdc8b32 100644 --- a/engines/neverhood/modules/module2800.cpp +++ b/engines/neverhood/modules/module2800.cpp @@ -3140,7 +3140,7 @@ void Scene2822::update() { _ssButton->setVisible(false); _countdownStatus = 1; _countdown = 48; - } else if (_countdownStatus == 1) { + } else if (_countdownStatus == 1 && getGlobalVar(V_LADDER_DOWN_ACTION)) { playSound(0, 0x1384CB60); _countdownStatus = 2; _countdown = 12; -- cgit v1.2.3