diff options
-rw-r--r-- | engines/lab/engine.cpp | 4 | ||||
-rw-r--r-- | engines/lab/eventman.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp index 499ae79346..6b06f3bcb0 100644 --- a/engines/lab/engine.cpp +++ b/engines/lab/engine.cpp @@ -611,7 +611,7 @@ bool LabEngine::fromCrumbs(uint32 tmpClass, uint16 code, uint16 qualifier, Commo mayShowCrumbIndicator(); _graphics->screenUpdate(); - } else if (msgClass == kMessageDeltaMove) { + } else if (msgClass == kMessageMoveCursorToCloseup) { ViewData *vptr = getViewData(_roomNum, _direction); CloseDataPtr oldClosePtr = vptr->_closeUps; CloseDataPtr tmpClosePtr = _closeDataPtr; @@ -715,7 +715,7 @@ bool LabEngine::processKey(IntuiMessage *curMsg, uint32 &msgClass, uint16 &quali forceDraw = true; interfaceOn(); } else if (code == Common::KEYCODE_TAB) - msgClass = kMessageDeltaMove; + msgClass = kMessageMoveCursorToCloseup; else if (code == Common::KEYCODE_ESCAPE) _closeDataPtr = nullptr; diff --git a/engines/lab/eventman.h b/engines/lab/eventman.h index 3a10fb98e7..ec8f824cb2 100644 --- a/engines/lab/eventman.h +++ b/engines/lab/eventman.h @@ -43,7 +43,7 @@ enum MessageClasses { kMessageRightClick, kMessageButtonUp, kMessageRawKey, - kMessageDeltaMove + kMessageMoveCursorToCloseup }; struct IntuiMessage { @@ -56,7 +56,7 @@ struct IntuiMessage { struct Button { uint16 _x, _y, _buttonId; - Common::KeyCode _keyEquiv; // if not zero, a key that activates button + Common::KeyCode _keyEquiv; // the key which activates this button bool _isEnabled; Image *_image, *_altImage; }; |