diff options
Diffstat (limited to 'engines/hopkins/font.cpp')
| -rw-r--r-- | engines/hopkins/font.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hopkins/font.cpp b/engines/hopkins/font.cpp index 02f1caf439..8bd045448c 100644 --- a/engines/hopkins/font.cpp +++ b/engines/hopkins/font.cpp @@ -480,12 +480,12 @@ void FontManager::renderTextDisplay(int xp, int yp, const Common::String &msg, i charEndPosX += charWidth; _vm->_graphicsManager->addDirtyRect(charStartPosX, yp, charEndPosX, yp + 12); if (_vm->_eventsManager->_escKeyFl) { - _vm->_globals->iRegul = 1; + _vm->_globals->_eventMode = EVENTMODE_IGNORE; _vm->_eventsManager->refreshScreenAndEvents(); } else { - _vm->_globals->iRegul = 4; + _vm->_globals->_eventMode = EVENTMODE_ALT; _vm->_eventsManager->refreshScreenAndEvents(); - _vm->_globals->iRegul = 1; + _vm->_globals->_eventMode = EVENTMODE_IGNORE; } } curChar = *srcP++; |
