aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-02-12 21:42:23 +1100
committerStrangerke2012-04-06 08:21:08 +0200
commitec2d9d6d77a5f59d8a2332973d407c3fb02379d2 (patch)
tree9f91ed68a38e12c95efe25f72a5500605e66c8fd
parentbbc8ba9ad61430a8449bcfc04bd483cbc219f194 (diff)
downloadscummvm-rg350-ec2d9d6d77a5f59d8a2332973d407c3fb02379d2.tar.gz
scummvm-rg350-ec2d9d6d77a5f59d8a2332973d407c3fb02379d2.tar.bz2
scummvm-rg350-ec2d9d6d77a5f59d8a2332973d407c3fb02379d2.zip
MORTEVIELLE: Added CHECK_QUIT to afdes() event loop
-rw-r--r--engines/mortevielle/mor2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mortevielle/mor2.cpp b/engines/mortevielle/mor2.cpp
index 496ce64f92..71546e943b 100644
--- a/engines/mortevielle/mor2.cpp
+++ b/engines/mortevielle/mor2.cpp
@@ -213,6 +213,7 @@ void tkey1(bool d) {
if (d) tinke();
quest = keypressed();
read_pos_mouse(x, y, c);
+ CHECK_QUIT;
} while (!(quest || (c != 0) || (d && anyone)));
if (quest) key = testou();
g_vm->setMouseClick(false);