aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/hopkins.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index 740cb6f458..42d4de8579 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -589,6 +589,9 @@ LABEL_11:
for (;;) {
for (;;) {
for (;;) {
+ if (g_system->getEventManager()->shouldQuit())
+ return false;
+
if (_globals.SORTIE == 300)
goto LABEL_11;
if (_globals.SORTIE != 18)