aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/queen/command.cpp')
-rw-r--r--engines/queen/command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/queen/command.cpp b/engines/queen/command.cpp
index 9a4896c68b..be6e1638bb 100644
--- a/engines/queen/command.cpp
+++ b/engines/queen/command.cpp
@@ -271,7 +271,7 @@ void Command::executeCurrentAction() {
void Command::updatePlayer() {
if (_vm->logic()->joeWalk() != JWM_MOVE) {
- Common::Point mouse = g_system->getEventManager()->getMousePos();
+ Common::Point mouse = _vm->input()->getMousePos();
lookForCurrentObject(mouse.x, mouse.y);
lookForCurrentIcon(mouse.x, mouse.y);
}
@@ -531,7 +531,7 @@ int16 Command::makeJoeWalkTo(int16 x, int16 y, int16 objNum, Verb v, bool mustWa
}
void Command::grabCurrentSelection() {
- Common::Point mouse = g_system->getEventManager()->getMousePos();
+ Common::Point mouse = _vm->input()->getMousePos();
_selPosX = mouse.x;
_selPosY = mouse.y;