[Scummvm-cvs-logs] SF.net SVN: scummvm:[42609] scummvm/trunk/engines/sci/engine/vm.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sun Jul 19 12:50:15 CEST 2009


Revision: 42609
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42609&view=rev
Author:   wjpalenstijn
Date:     2009-07-19 10:50:14 +0000 (Sun, 19 Jul 2009)

Log Message:
-----------
SCI: check shouldQuit() in main loop

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/vm.cpp

Modified: scummvm/trunk/engines/sci/engine/vm.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/vm.cpp	2009-07-19 09:13:17 UTC (rev 42608)
+++ scummvm/trunk/engines/sci/engine/vm.cpp	2009-07-19 10:50:14 UTC (rev 42609)
@@ -654,7 +654,7 @@
 
 		}
 
-		if (script_abort_flag)
+		if (script_abort_flag || g_engine->shouldQuit())
 			return; // Emergency
 
 		// Debug if this has been requested:


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