aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/exe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/alan2/exe.cpp')
-rw-r--r--engines/glk/alan2/exe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/alan2/exe.cpp b/engines/glk/alan2/exe.cpp
index 1cccf3d32d..9b06943257 100644
--- a/engines/glk/alan2/exe.cpp
+++ b/engines/glk/alan2/exe.cpp
@@ -236,7 +236,7 @@ void quit()
char choices[10];
para();
- while (TRUE) {
+ while (!g_vm->shouldQuit()) {
col = 1;
statusline();
prmsg(M_QUITACTION);