aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-01-06 23:38:41 +0100
committerWillem Jan Palenstijn2012-01-06 23:38:41 +0100
commitd4a81009e499c65da299262049acbaeeae313679 (patch)
tree0edabbd567d52ebf2aa1a0d845a462f3e9ad4e15
parent8c7cd344c7560e655c0cee3136905f64a0e9ac47 (diff)
downloadscummvm-rg350-d4a81009e499c65da299262049acbaeeae313679.tar.gz
scummvm-rg350-d4a81009e499c65da299262049acbaeeae313679.tar.bz2
scummvm-rg350-d4a81009e499c65da299262049acbaeeae313679.zip
AGI: Fix stuck next button when switching back to predictive mode
-rw-r--r--engines/agi/predictive.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp
index e27a2e81f8..4bb378934d 100644
--- a/engines/agi/predictive.cpp
+++ b/engines/agi/predictive.cpp
@@ -458,6 +458,7 @@ bool AgiEngine::predictiveDialog() {
_currentCode.clear();
_currentWord.clear();
memset(repeatcount, 0, sizeof(repeatcount));
+ _predictiveDictActLine = NULL;
} else {
enterPredictiveResult = true;
closeDialog = true;