[Scummvm-cvs-logs] SF.net SVN: scummvm:[40988] scummvm/trunk/engines/kyra/gui_lol.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri May 29 14:16:35 CEST 2009


Revision: 40988
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40988&view=rev
Author:   lordhoto
Date:     2009-05-29 12:16:34 +0000 (Fri, 29 May 2009)

Log Message:
-----------
Enable autosaves in Lands of Lore.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_lol.cpp

Modified: scummvm/trunk/engines/kyra/gui_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_lol.cpp	2009-05-29 12:04:13 UTC (rev 40987)
+++ scummvm/trunk/engines/kyra/gui_lol.cpp	2009-05-29 12:16:34 UTC (rev 40988)
@@ -705,6 +705,10 @@
 	// 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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list