diff options
Diffstat (limited to 'engines/access/room.cpp')
-rw-r--r-- | engines/access/room.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/access/room.cpp b/engines/access/room.cpp index 225cd80548..b5f8554612 100644 --- a/engines/access/room.cpp +++ b/engines/access/room.cpp @@ -556,8 +556,10 @@ int Room::checkBoxes2(const Common::Point &pt, int start, int count) { } void Room::checkBoxes3() { + Common::Point pt = _vm->_events->calcRawMouse(); + for (uint start = 0; start < _plotter._blocks.size(); ++start) { - if (_plotter._blocks[start].contains(_vm->_events->_mousePos)) { + if (_plotter._blocks[start].contains(pt)) { _plotter._blockIn = start; if (!(validateBox(start) & 0x80)) { _vm->_events->debounceLeft(); |