aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/prog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mortevielle/prog.cpp')
-rw-r--r--engines/mortevielle/prog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mortevielle/prog.cpp b/engines/mortevielle/prog.cpp
index 236e785199..41615219d4 100644
--- a/engines/mortevielle/prog.cpp
+++ b/engines/mortevielle/prog.cpp
@@ -30,6 +30,7 @@
#include "mortevielle/menu.h"
#include "mortevielle/mor.h"
#include "mortevielle/mor2.h"
+#include "mortevielle/mortevielle.h"
#include "mortevielle/prog.h"
#include "mortevielle/taffich.h"
#include "mortevielle/var_mor.h"
@@ -265,6 +266,7 @@ void tecran() {
mdn();
tinke();
mov_mouse(funct, inkey);
+ CHECK_QUIT;
temps = temps + 1;
} while (!((choisi) || (temps > lim) || (funct) || (anyone)));
@@ -348,6 +350,7 @@ void tjouer() {
antegame();
do {
tecran();
+ CHECK_QUIT;
} while (!((arret) || (solu) || (perdu)));
if (solu) tmaj1();
else if (perdu) tencore();