diff options
author | Paul Gilbert | 2015-06-01 22:35:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-01 22:35:28 -0400 |
commit | 360a084059f0db446fea93dc72093317238b8ca9 (patch) | |
tree | d2628a1923b583da667bc30310772332d58e15c2 /engines/sherlock | |
parent | 39c4a3d4c10b870c329e15391a846fe4188f55bd (diff) | |
download | scummvm-rg350-360a084059f0db446fea93dc72093317238b8ca9.tar.gz scummvm-rg350-360a084059f0db446fea93dc72093317238b8ca9.tar.bz2 scummvm-rg350-360a084059f0db446fea93dc72093317238b8ca9.zip |
SHERLOCK: Fix button check in lookScreen
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_user_interface.cpp | 2 |
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) { |