[Scummvm-cvs-logs] SF.net SVN: scummvm: [32820] scummvm/trunk/engines/parallaction/ callables_ns.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sat Jun 28 15:31:59 CEST 2008


Revision: 32820
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32820&view=rev
Author:   peres001
Date:     2008-06-28 06:31:58 -0700 (Sat, 28 Jun 2008)

Log Message:
-----------
Added comment for fix for bug #2001193.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/callables_ns.cpp

Modified: scummvm/trunk/engines/parallaction/callables_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/callables_ns.cpp	2008-06-28 13:13:37 UTC (rev 32819)
+++ scummvm/trunk/engines/parallaction/callables_ns.cpp	2008-06-28 13:31:58 UTC (rev 32820)
@@ -417,7 +417,9 @@
 }
 
 void Parallaction_ns::_c_testResult(void *parm) {
-	if (_inTestResult) {
+	if (_inTestResult) {		// NOTE: _inTestResult has been added because the scripts call _c_testResult multiple times to cope with
+								// the multiple buffering that was used in the original engine. _inTestResult now prevents the engine
+								// from crashing when the scripts are executed.
 		return;
 	}
 	_inTestResult = true;


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