aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-14 10:17:03 +1100
committerPaul Gilbert2012-10-14 10:17:03 +1100
commit5f10d80f9e652ee2676a79170b4165843eaed49b (patch)
treecde27f701c7ee8aafa4bcfe541194f09db50d22a /engines
parent1d2c34193389ce526013e5465bbaab411ebe8d29 (diff)
downloadscummvm-rg350-5f10d80f9e652ee2676a79170b4165843eaed49b.tar.gz
scummvm-rg350-5f10d80f9e652ee2676a79170b4165843eaed49b.tar.bz2
scummvm-rg350-5f10d80f9e652ee2676a79170b4165843eaed49b.zip
HOPKINS: Removed some redundant references
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;