aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins/events.cpp')
-rw-r--r--engines/hopkins/events.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp
index b1c70ff02b..b60562c92d 100644
--- a/engines/hopkins/events.cpp
+++ b/engines/hopkins/events.cpp
@@ -36,7 +36,7 @@ EventsManager::EventsManager() {
mouse_linux = false;
souris_sizex = souris_sizey = 0;
ofset_souris_x = ofset_souris_y = 0;
- _vm->_eventsManager.start_x = start_y = 0;
+ start_x = start_y = 0;
CASSE = false;
souris_n = 0;
souris_bb = 0;
@@ -183,9 +183,9 @@ void EventsManager::CONTROLE_MES() {
void EventsManager::checkForNextFrameCounter() {
uint32 milli = g_system->getMillis();
- if ((milli - _priorFrameTime) >= GAME_FRAME_TIME) {
+ if ((milli - _priorFrameTime) >= 10) {
_priorFrameTime = milli;
- ++lItCounter;
+ lItCounter += 3;
g_system->updateScreen();
}