From da562308cf534949aa2fbde65cab72e9a5958222 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 8 Jul 2015 19:42:21 -0400 Subject: SHERLOCK: RT: Fix default left click actions for objects --- engines/sherlock/tattoo/tattoo_user_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index 6eb0ca1330..9296ff0e8a 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 -- cgit v1.2.3