[Scummvm-cvs-logs] scummvm master -> 360a084059f0db446fea93dc72093317238b8ca9

dreammaster dreammaster at scummvm.org
Tue Jun 2 04:36:31 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
360a084059 SHERLOCK: Fix button check in lookScreen


Commit: 360a084059f0db446fea93dc72093317238b8ca9
    https://github.com/scummvm/scummvm/commit/360a084059f0db446fea93dc72093317238b8ca9
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-01T22:35:28-04:00

Commit Message:
SHERLOCK: Fix button check in lookScreen

Changed paths:
    engines/sherlock/scalpel/scalpel_user_interface.cpp



diff --git a/engines/sherlock/scalpel/scalpel_user_interface.cpp b/engines/sherlock/scalpel/scalpel_user_interface.cpp
index 295cddb..0bb2364 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) {






More information about the Scummvm-git-logs mailing list