From 71f6a7e8553f722926ad9277ca870b1f95b482b3 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 10 Apr 2008 08:27:09 +0000 Subject: Allow the predictive dialog to be shown when ego cannot be moved (i.e. when _game.playerControl is 0), since in those cases it is possible to enter text in the input area. Should fix bugs #1935844 - "PQ1: Predictive Text does not load" and #1936374 - "LSL1: No predictive input at age verification page" svn-id: r31462 --- engines/agi/agi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agi/agi.cpp') diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index 0a5ef71f0e..58d6eba8cf 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -69,7 +69,7 @@ void AgiEngine::processEvents() { case Common::EVENT_PREDICTIVE_DIALOG: if (_predictiveDialogRunning) break; - if (_game.playerControl && predictiveDialog()) { + if (predictiveDialog()) { if (_game.inputMode == INPUT_NORMAL) { strcpy((char *)_game.inputBuffer, _predictiveResult); handleKeys(KEY_ENTER); -- cgit v1.2.3