From 360a084059f0db446fea93dc72093317238b8ca9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 1 Jun 2015 22:35:28 -0400 Subject: SHERLOCK: Fix button check in lookScreen --- engines/sherlock/scalpel/scalpel_user_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sherlock') diff --git a/engines/sherlock/scalpel/scalpel_user_interface.cpp b/engines/sherlock/scalpel/scalpel_user_interface.cpp index 295cddb3c9..0bb236484c 100644 --- a/engines/sherlock/scalpel/scalpel_user_interface.cpp +++ b/engines/sherlock/scalpel/scalpel_user_interface.cpp @@ -536,7 +536,7 @@ void ScalpelUserInterface::lookScreen(const Common::Point &pt) { Common::String tempStr; // Don't display anything for right button command - if ((events._rightPressed || events._rightPressed) && !events._pressed) + if ((events._rightPressed || events._rightReleased) && !events._pressed) return; if (mousePos.y < CONTROLS_Y && (temp = _bgFound) != -1) { -- cgit v1.2.3