diff options
author | Filippos Karapetis | 2015-12-08 18:24:44 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:56 +0100 |
commit | 151e27f4b1d5a98a3867c46d770b9b2a41f8905c (patch) | |
tree | 876f4abd680d10e7077e1fb8b24e3e703fba67e3 /engines/lab | |
parent | 53de3143f636486b89380e3b2ce245e2606b98e0 (diff) | |
download | scummvm-rg350-151e27f4b1d5a98a3867c46d770b9b2a41f8905c.tar.gz scummvm-rg350-151e27f4b1d5a98a3867c46d770b9b2a41f8905c.tar.bz2 scummvm-rg350-151e27f4b1d5a98a3867c46d770b9b2a41f8905c.zip |
LAB: Fix regression in setCurClose(). Fixes closeups
A regression from 78e8896ce7583fbd1feee8e3e9c1aca0f11c2392
Diffstat (limited to 'engines/lab')
-rw-r--r-- | engines/lab/processroom.h | 2 | ||||
-rw-r--r-- | engines/lab/special.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/processroom.h b/engines/lab/processroom.h index e4cb84e644..fae4c2f0a9 100644 --- a/engines/lab/processroom.h +++ b/engines/lab/processroom.h @@ -193,7 +193,7 @@ bool parse(const char *inputFile); ViewData *getViewData(uint16 roomNum, uint16 direction); void drawDirection(CloseDataPtr lcptr); uint16 processArrow(uint16 curDirection, uint16 arrow); -void setCurClose(Common::Point pos, CloseDataPtr *cptr, bool useAbsoluteCoords = false); +void setCurClose(Common::Point pos, CloseDataPtr *cptr, bool useAbsoluteCoords = true); bool takeItem(uint16 x, uint16 y, CloseDataPtr *cptr); bool doActionRule(Common::Point pos, int16 action, int16 roomNum, CloseDataPtr *lcptr); bool doOperateRule(int16 x, int16 y, int16 itemNum, CloseDataPtr *lcptr); diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp index cce06e69dc..5a0348c2ca 100644 --- a/engines/lab/special.cpp +++ b/engines/lab/special.cpp @@ -564,7 +564,7 @@ void LabEngine::processMonitor(char *ntext, TextFont *monitorFont, bool isintera testcptr = _cptr; MouseY = 64 + (MouseY / MonGadHeight) * 42; MouseX = 101; - setCurClose(Common::Point(MouseX, MouseY), &_cptr, true); + setCurClose(Common::Point(MouseX, MouseY), &_cptr, false); if (testcptr != _cptr) { lastcptr[depth] = testcptr; |