aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/queen/logic.cpp')
-rw-r--r--engines/queen/logic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/queen/logic.cpp b/engines/queen/logic.cpp
index eb63957aba..ebd31abd83 100644
--- a/engines/queen/logic.cpp
+++ b/engines/queen/logic.cpp
@@ -1177,7 +1177,7 @@ void Logic::handlePinnacleRoom() {
BobSlot *piton = _vm->graphics()->bob(7);
// set scrolling value to mouse position to avoid glitch
- Common::Point mouse = g_system->getEventManager()->getMousePos();
+ Common::Point mouse = _vm->input()->getMousePos();
_vm->display()->horizontalScroll(mouse.x);
joe->x = piton->x = 3 * mouse.x / 4 + 200;
@@ -1197,7 +1197,7 @@ void Logic::handlePinnacleRoom() {
while (_vm->input()->mouseButton() == 0 || _entryObj == 0) {
_vm->update();
- mouse = g_system->getEventManager()->getMousePos();
+ mouse = _vm->input()->getMousePos();
// update screen scrolling
_vm->display()->horizontalScroll(mouse.x);