mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
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.
This commit is contained in:
parent
f42d896d99
commit
da2074146f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user