mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
HOPKINS: Fix initialization of timers in EventsManager
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user