diff options
Diffstat (limited to 'engines/hopkins/events.cpp')
-rw-r--r-- | engines/hopkins/events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp index 6a55001792..898b68dbe0 100644 --- a/engines/hopkins/events.cpp +++ b/engines/hopkins/events.cpp @@ -423,7 +423,7 @@ void EventsManager::refreshScreenAndEvents() { pollEvents(); bool innerLoopFl = false; - while (!_vm->shouldQuit() && (_breakoutFl || _vm->_globals->iRegul != 1)) { + while (!_vm->shouldQuit() && (_breakoutFl || _vm->_globals->_eventMode != EVENTMODE_IGNORE)) { pollEvents(); if (!_breakoutFl) { @@ -444,7 +444,7 @@ void EventsManager::refreshScreenAndEvents() { } if (externalLoopFl) break; - } while (!_vm->shouldQuit() && _vm->_globals->iRegul == 3 && _rateCounter <= 15); + } while (!_vm->shouldQuit() && _vm->_globals->_eventMode == 3 && _rateCounter <= 15); _vm->_globals->_speed = 2; _rateCounter = 0; if (!_vm->_graphicsManager->_largeScreenFl || _vm->_graphicsManager->_scrollStatus == 1) { |