[Scummvm-cvs-logs] scummvm master -> da562308cf534949aa2fbde65cab72e9a5958222

dreammaster dreammaster at scummvm.org
Thu Jul 9 01:43:17 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:
da562308cf SHERLOCK: RT: Fix default left click actions for objects


Commit: da562308cf534949aa2fbde65cab72e9a5958222
    https://github.com/scummvm/scummvm/commit/da562308cf534949aa2fbde65cab72e9a5958222
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-07-08T19:42:21-04:00

Commit Message:
SHERLOCK: RT: Fix default left click actions for objects

Changed paths:
    engines/sherlock/tattoo/tattoo_user_interface.cpp



diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp
index 6eb0ca1..9296ff0 100644
--- a/engines/sherlock/tattoo/tattoo_user_interface.cpp
+++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp
@@ -454,7 +454,7 @@ void TattooUserInterface::doStandardControl() {
 			// Either call the code to Look at it's Examine Field or call the Exit animation
 			// if the object is an exit, specified by the first four characters of the name being "EXIT"
 			Common::String name = _personFound ? people[_bgFound - 1000]._name : _bgShape->_name;
-			if (name.hasPrefix("EXIT")) {
+			if (!name.hasPrefix("EXIT")) {
 				lookAtObject();
 			} else {
 				// Run the Exit animation and set which scene to go to next






More information about the Scummvm-git-logs mailing list