diff options
-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: |