diff options
author | D G Turner | 2011-06-08 03:38:52 +0100 |
---|---|---|
committer | D G Turner | 2011-06-08 03:38:52 +0100 |
commit | e3a409b9a42af315e8e9fb23c755bdc8357ddcf9 (patch) | |
tree | e4ff51fa4e4d675182690156f71305b376eb6e3f | |
parent | dbaf9e49c7358a2cdcee396bfe3381fd5571a30c (diff) | |
download | scummvm-rg350-e3a409b9a42af315e8e9fb23c755bdc8357ddcf9.tar.gz scummvm-rg350-e3a409b9a42af315e8e9fb23c755bdc8357ddcf9.tar.bz2 scummvm-rg350-e3a409b9a42af315e8e9fb23c755bdc8357ddcf9.zip |
AGI: Fix Engine Exit While Predictive Dialog Is Open.
-rw-r--r-- | engines/agi/predictive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp index e45a5a8209..edfe83b1cb 100644 --- a/engines/agi/predictive.cpp +++ b/engines/agi/predictive.cpp @@ -190,7 +190,7 @@ bool AgiEngine::predictiveDialog() { bool needRefresh = true; - for (;;) { + while (!shouldQuit()) { if (needRefresh) { for (int i = 0; buttons[i]; i++) { int color1 = colors[i * 2]; |