aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_lol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/gui_lol.cpp')
-rw-r--r--engines/kyra/gui_lol.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp
index 962097995b..2d65132fc9 100644
--- a/engines/kyra/gui_lol.cpp
+++ b/engines/kyra/gui_lol.cpp
@@ -2333,27 +2333,22 @@ int GUI_LoL::runMenu(Menu &menu) {
_screen->fprintString(_saveDescription, (d->sx << 3), d->sy + 2, d->unk8, d->unkA, 0);
_screen->fillRect((d->sx << 3) + fC, d->sy, (d->sx << 3) + fC + wW, d->sy + d->h - 1, d->unk8, 0);
_screen->setCurPage(pg);
- _screen->updateScreen();
}
while (!_newMenu && _displayMenu) {
processHighlights(*_currentMenu);
if (_currentMenu == &_savenameMenu) {
- fC = _screen->getTextWidth(_saveDescription);
- int pg = _screen->setCurPage(0);
-
if (textCursorTimer <= _vm->_system->getMillis()) {
+ fC = _screen->getTextWidth(_saveDescription);
textCursorStatus ^= 1;
textCursorTimer = _vm->_system->getMillis() + 20 * _vm->_tickLength;
_screen->fillRect((d->sx << 3) + fC, d->sy, (d->sx << 3) + fC + wW, d->sy + d->h - 1, textCursorStatus ? d->unk8 : d->unkA, 0);
- }
-
- _screen->updateScreen();
- _screen->setCurPage(pg);
+ _screen->updateScreen();
+ }
}
- if (getInput()) {
+ if (getInput()) {
if (!_newMenu)
_newMenu = _currentMenu;
else