From 5f10d80f9e652ee2676a79170b4165843eaed49b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 14 Oct 2012 10:17:03 +1100 Subject: HOPKINS: Removed some redundant references --- engines/hopkins/events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3