Skip to content

Commit

Permalink
AGI: Fix Engine Exit While Predictive Dialog Is Open.
Browse files Browse the repository at this point in the history
  • Loading branch information
digitall committed Jun 8, 2011
1 parent dbaf9e4 commit e3a409b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/agi/predictive.cpp
Expand Up @@ -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];
Expand Down

0 comments on commit e3a409b

Please sign in to comment.