aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-04-09 08:25:49 +0200
committerStrangerke2013-04-09 08:31:46 +0200
commit11183ee982bdb8597c19b0809f5a2de1701d0abb (patch)
tree1cf5707e19597e7a17431465631e8f81d25e8d49 /engines
parent3e1622d68a9a9f16364e4a2637ce1a9f1d1e64e4 (diff)
downloadscummvm-rg350-11183ee982bdb8597c19b0809f5a2de1701d0abb.tar.gz
scummvm-rg350-11183ee982bdb8597c19b0809f5a2de1701d0abb.tar.bz2
scummvm-rg350-11183ee982bdb8597c19b0809f5a2de1701d0abb.zip
HOPKINS: Fix initialization of timers in EventsManager
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/events.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp
index 2a0137deac..dffe480833 100644
--- a/engines/hopkins/events.cpp
+++ b/engines/hopkins/events.cpp
@@ -54,8 +54,7 @@ EventsManager::EventsManager(HopkinsEngine *vm) {
_objectBuf = NULL;
Common::fill(&_keyState[0], &_keyState[256], false);
- _priorCounterTime = 0;
- _priorFrameTime = 0;
+ _priorCounterTime = _priorFrameTime = g_system->getMillis();
}
EventsManager::~EventsManager() {