aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/hopkins.cpp
diff options
context:
space:
mode:
authorStrangerke2012-11-14 22:58:48 +0100
committerStrangerke2012-11-14 22:58:48 +0100
commitdb5626adb6f282b5c1ce68cbe8d0097e82ba1a39 (patch)
tree32cef731c2b0c05cf2c13c0d188ff1929a8cc7a5 /engines/hopkins/hopkins.cpp
parentb15e6f0ac5f4b32ddc657dce73d0fcce62afdbcd (diff)
downloadscummvm-rg350-db5626adb6f282b5c1ce68cbe8d0097e82ba1a39.tar.gz
scummvm-rg350-db5626adb6f282b5c1ce68cbe8d0097e82ba1a39.tar.bz2
scummvm-rg350-db5626adb6f282b5c1ce68cbe8d0097e82ba1a39.zip
HOPKINS: Fix exit in full game
Diffstat (limited to 'engines/hopkins/hopkins.cpp')
-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)