From 2bd1f51d92492fa88ba61dc65f783fc9bbfd852c Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Tue, 18 Aug 2009 21:37:31 +0000 Subject: [PATCH] Possible fix for #2828330 (AGI: KQ1: Fast text box). If doesn't break anything else then should go to the branch-1-0-0 too, but haven't had the time to do much testing yet - thus committing to the trunk first. svn-id: r43523 --- engines/agi/cycle.cpp | 4 ++-- engines/agi/menu.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp index d212f8c2e09..2b4ef7f60a0 100644 --- a/engines/agi/cycle.cpp +++ b/engines/agi/cycle.cpp @@ -266,8 +266,8 @@ process_key: } // commented out to close Sarien bug #438872 - if (key) - _game.keypress = key; + //if (key) + // _game.keypress = key; } break; case INPUT_GETSTRING: diff --git a/engines/agi/menu.cpp b/engines/agi/menu.cpp index 5d30eda81d6..e1db04ff494 100644 --- a/engines/agi/menu.cpp +++ b/engines/agi/menu.cpp @@ -408,6 +408,7 @@ bool Menu::keyhandler(int key) { if (d->enabled) { debugC(6, kDebugLevelMenu | kDebugLevelInput, "event %d registered", d->event); _vm->_game.controllerOccured[d->event] = true; + _vm->_menuSelected = true; goto exit_menu; } break;