aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_user_interface.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-08 19:42:21 -0400
committerPaul Gilbert2015-07-08 19:42:21 -0400
commitda562308cf534949aa2fbde65cab72e9a5958222 (patch)
tree61dcefc6c110cc045f4d73c3d6a7685cb915b051 /engines/sherlock/tattoo/tattoo_user_interface.cpp
parentb7c2c345e318e1d359b0ce64c8b2d898e37b5e73 (diff)
downloadscummvm-rg350-da562308cf534949aa2fbde65cab72e9a5958222.tar.gz
scummvm-rg350-da562308cf534949aa2fbde65cab72e9a5958222.tar.bz2
scummvm-rg350-da562308cf534949aa2fbde65cab72e9a5958222.zip
SHERLOCK: RT: Fix default left click actions for objects
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_user_interface.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_user_interface.cpp2
1 files changed, 1 insertions, 1 deletions
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