aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-01-05 09:47:59 +0000
committerTravis Howell2009-01-05 09:47:59 +0000
commit85c9decb8dd6a1c46fb23baf2ca833b01f77c867 (patch)
treed896f84859964f0d7c5ab6a11880e9a55b2a839c /engines
parenta8785eb92e2498c958e12ede2508223dcac7a266 (diff)
downloadscummvm-rg350-85c9decb8dd6a1c46fb23baf2ca833b01f77c867.tar.gz
scummvm-rg350-85c9decb8dd6a1c46fb23baf2ca833b01f77c867.tar.bz2
scummvm-rg350-85c9decb8dd6a1c46fb23baf2ca833b01f77c867.zip
Quit immediately in Elvira 1, and don't let opcodes continue.
svn-id: r35737
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/script_e1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agos/script_e1.cpp b/engines/agos/script_e1.cpp
index 9d1c4c2776..adbb45d278 100644
--- a/engines/agos/script_e1.cpp
+++ b/engines/agos/script_e1.cpp
@@ -942,6 +942,8 @@ restart:
if (confirmYesOrNo(120, 62) == 0x7FFF) {
quitGame();
+ // Make sure the quit event is processed immediately.
+ delay(0);
} else {
goto restart;
}