diff options
author | Willem Jan Palenstijn | 2015-12-24 20:05:56 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-24 20:28:57 +0100 |
commit | da2074146f8189ae1379b2ac51948de447ed0c05 (patch) | |
tree | a57a77556c7d2fba90285b5fbd02988a86bb7b24 | |
parent | f42d896d99c81a566d1f6d0c8ceb87f0b4b23855 (diff) | |
download | scummvm-rg350-da2074146f8189ae1379b2ac51948de447ed0c05.tar.gz scummvm-rg350-da2074146f8189ae1379b2ac51948de447ed0c05.tar.bz2 scummvm-rg350-da2074146f8189ae1379b2ac51948de447ed0c05.zip |
LAB: Make tab behave more logically
When skipping to the next closeup, it seems to make little sense to
check the _graphicName of the current one.
-rw-r--r-- | engines/lab/processroom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/processroom.cpp b/engines/lab/processroom.cpp index ec07adde0a..c096c75e21 100644 --- a/engines/lab/processroom.cpp +++ b/engines/lab/processroom.cpp @@ -189,7 +189,7 @@ void LabEngine::setCurrentClose(Common::Point pos, CloseDataPtr *closePtrList, b else target = _utils->rectScale(closePtr->_x1, closePtr->_y1, closePtr->_x2, closePtr->_y2); - if (target.contains(pos) && !closePtr->_graphicName.empty()) { + if (target.contains(pos) && (next || !closePtr->_graphicName.empty())) { if (next) { // cycle to the next one |