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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon May 18 22:07:09 CEST 2009


Revision: 40699
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40699&view=rev
Author:   lordhoto
Date:     2009-05-18 20:07:09 +0000 (Mon, 18 May 2009)

Log Message:
-----------
Don't delay any longer, when engine is asked to quit.

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

Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp	2009-05-18 20:05:30 UTC (rev 40698)
+++ scummvm/trunk/engines/kyra/lol.cpp	2009-05-18 20:07:09 UTC (rev 40699)
@@ -2073,7 +2073,7 @@
 
 void LoLEngine::delay(uint32 millis, bool cUpdate, bool iUpdate) {
 	int del = (int)(millis);
-	while (del > 0) {
+	while (del > 0 && !shouldQuit()) {
 		if (cUpdate)
 			update();
 		if (iUpdate)


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