From 7d6b859df58f5ac9cf126e50ff5b0c25cd57850a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 20 Jan 2012 17:22:54 +1100 Subject: MORTEVIELLE: Added explicit quit checks to the main game loops --- engines/mortevielle/prog.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/mortevielle/prog.cpp') 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(); -- cgit v1.2.3