aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp
index fa45b506a6..6c2cadf257 100644
--- a/engines/hopkins/events.cpp
+++ b/engines/hopkins/events.cpp
@@ -87,14 +87,14 @@ void EventsManager::souris_max() {
}
int EventsManager::XMOUSE() {
- souris_x = _vm->_eventsManager.start_x + g_system->getEventManager()->getMousePos().x;
+ souris_x = start_x + g_system->getEventManager()->getMousePos().x;
souris_y = g_system->getEventManager()->getMousePos().y;
return souris_x + ofset_souris_x;
}
int EventsManager::YMOUSE() {
- souris_x = _vm->_eventsManager.start_x + g_system->getEventManager()->getMousePos().x;
+ souris_x = start_x + g_system->getEventManager()->getMousePos().x;
souris_y = g_system->getEventManager()->getMousePos().y;
return souris_y + ofset_souris_y;