diff options
author | Paul Gilbert | 2019-06-19 20:38:48 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-06-22 14:40:49 -0700 |
commit | df7465232108c15ca613db0b5e709e34378dbd8c (patch) | |
tree | d8c9167360cb13ed4e3ed15aa72189484d0aadad /engines/glk/alan2/exe.cpp | |
parent | b4ae2ec4374a8f920fa3287b6906e09c6c68f57f (diff) | |
download | scummvm-rg350-df7465232108c15ca613db0b5e709e34378dbd8c.tar.gz scummvm-rg350-df7465232108c15ca613db0b5e709e34378dbd8c.tar.bz2 scummvm-rg350-df7465232108c15ca613db0b5e709e34378dbd8c.zip |
GLK: ALAN2: Added shouldQuit checks to break out of game loops
Diffstat (limited to 'engines/glk/alan2/exe.cpp')
-rw-r--r-- | engines/glk/alan2/exe.cpp | 2 |
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); |