diff options
Diffstat (limited to 'engines/agi/predictive.cpp')
-rw-r--r-- | engines/agi/predictive.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp index 5bc70ef072..605f135f67 100644 --- a/engines/agi/predictive.cpp +++ b/engines/agi/predictive.cpp @@ -121,9 +121,6 @@ bool AgiEngine::predictiveDialog(void) { bool navigationwithkeys = false; bool processkey; - _predictiveDialogRunning = true; - _system->setFeatureState(OSystem::kFeatureDisableKeyFiltering, true); - // FIXME: Move this to a more appropriate place. initAsciiToNumTable(); @@ -153,6 +150,9 @@ bool AgiEngine::predictiveDialog(void) { if (!_searchTreeRoot) return false; } + + _predictiveDialogRunning = true; + _system->setFeatureState(OSystem::kFeatureDisableKeyFiltering, true); memset(repeatcount, 0, MAXWORDLEN); |