diff options
author | Paul Gilbert | 2019-09-29 11:36:25 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-09-29 15:08:52 -0700 |
commit | b35088b78818290e60faa6bc5ef2cf240ea059e3 (patch) | |
tree | df1fe7575224f943003671d8905f062c917012d5 /engines/glk | |
parent | 97e61ddb0ecfe410af57687f5b264992033ccf91 (diff) | |
download | scummvm-rg350-b35088b78818290e60faa6bc5ef2cf240ea059e3.tar.gz scummvm-rg350-b35088b78818290e60faa6bc5ef2cf240ea059e3.tar.bz2 scummvm-rg350-b35088b78818290e60faa6bc5ef2cf240ea059e3.zip |
GLK: QUEST: Fix exitting by closing game window
Diffstat (limited to 'engines/glk')
-rw-r--r-- | engines/glk/quest/quest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/glk/quest/quest.cpp b/engines/glk/quest/quest.cpp index 71e6ab7475..15d5eda8d0 100644 --- a/engines/glk/quest/quest.cpp +++ b/engines/glk/quest/quest.cpp @@ -75,6 +75,8 @@ void Quest::playGame() { while (ev.type != evtype_LineInput) { glk_select(&ev); + if (shouldQuit()) + return; switch (ev.type) { case evtype_LineInput: |