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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Jun 2 01:30:06 CEST 2009


Revision: 41116
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41116&view=rev
Author:   lordhoto
Date:     2009-06-01 23:30:06 +0000 (Mon, 01 Jun 2009)

Log Message:
-----------
Allow the user to quit ScummVM, when LoL waits via delayUntil.

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

Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp	2009-06-01 23:29:05 UTC (rev 41115)
+++ scummvm/trunk/engines/kyra/lol.cpp	2009-06-01 23:30:06 UTC (rev 41116)
@@ -1798,7 +1798,7 @@
 		return;
 
 	uint32 del = timeStamp - curTime;
-	while (del) {
+	while (del && !shouldQuit()) {
 		updateInput();
 
 		uint32 step = MIN<uint32>(del, _tickLength);


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