[Scummvm-cvs-logs] SF.net SVN: scummvm:[35722] scummvm/trunk/engines/agos/script.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Jan 4 14:14:11 CET 2009


Revision: 35722
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35722&view=rev
Author:   eriktorbjorn
Date:     2009-01-04 13:14:11 +0000 (Sun, 04 Jan 2009)

Log Message:
-----------
Fixed a crash when quitting Swampy Adventures. (Regression from the RTL changes.)

Modified Paths:
--------------
    scummvm/trunk/engines/agos/script.cpp

Modified: scummvm/trunk/engines/agos/script.cpp
===================================================================
--- scummvm/trunk/engines/agos/script.cpp	2009-01-04 09:48:51 UTC (rev 35721)
+++ scummvm/trunk/engines/agos/script.cpp	2009-01-04 13:14:11 UTC (rev 35722)
@@ -411,6 +411,8 @@
 void AGOSEngine::o_end() {
 	// 68: exit interpreter
 	quitGame();
+	// Make sure the quit event is processed immediately.
+	delay(0);
 }
 
 void AGOSEngine::o_done() {


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