From 6343ff72c462219afb2f11fea69539725794efd6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 23 Aug 2014 10:21:50 -0400 Subject: ACCESS: Fix cursor positioning in scrolled screens, and background restores --- engines/access/room.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/access/room.cpp') 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(); -- cgit v1.2.3