aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-01 22:35:28 -0400
committerPaul Gilbert2015-06-01 22:35:28 -0400
commit360a084059f0db446fea93dc72093317238b8ca9 (patch)
treed2628a1923b583da667bc30310772332d58e15c2
parent39c4a3d4c10b870c329e15391a846fe4188f55bd (diff)
downloadscummvm-rg350-360a084059f0db446fea93dc72093317238b8ca9.tar.gz
scummvm-rg350-360a084059f0db446fea93dc72093317238b8ca9.tar.bz2
scummvm-rg350-360a084059f0db446fea93dc72093317238b8ca9.zip
SHERLOCK: Fix button check in lookScreen
-rw-r--r--engines/sherlock/scalpel/scalpel_user_interface.cpp2
1 files changed, 1 insertions, 1 deletions
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) {