From da00b148f4bf344caeb9bd9e6456e1237be63b2b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 29 May 2009 12:16:34 +0000 Subject: Enable autosaves in Lands of Lore. svn-id: r40988 --- engines/kyra/gui_lol.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp index 940086e00f..1958e7a472 100644 --- a/engines/kyra/gui_lol.cpp +++ b/engines/kyra/gui_lol.cpp @@ -705,6 +705,10 @@ void LoLEngine::gui_updateInput() { // TODO: We need to catch all cases where loading is not possible and // set the "mainLoop" parameter to false for them. int inputFlag = checkInput(_activeButtons, !(_updateFlags & 3), 0); + + if (!(_updateFlags & 3)) + checkAutosave(); + if (_preserveEvents) _preserveEvents = false; else -- cgit v1.2.3