SHERLOCK: RT: Fix default left click actions for objects

This commit is contained in:
Paul Gilbert 2015-07-08 19:42:21 -04:00
parent b7c2c345e3
commit da562308cf

View File

@ -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