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

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sat Jun 19 04:50:46 CEST 2010


Revision: 50037
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50037&view=rev
Author:   peres001
Date:     2010-06-19 02:50:46 +0000 (Sat, 19 Jun 2010)

Log Message:
-----------
Save the context of a suspended list before resuming the execution, so that it can safely be suspended again. Patch 3004652 by fuzzie.

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

Modified: scummvm/trunk/engines/parallaction/exec.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/exec.cpp	2010-06-19 02:39:11 UTC (rev 50036)
+++ scummvm/trunk/engines/parallaction/exec.cpp	2010-06-19 02:50:46 UTC (rev 50037)
@@ -193,8 +193,10 @@
 		debugC(3, kDebugExec, "CommandExec::runSuspended()");
 
 		_execZone = _suspendedCtxt._zone;
-		runList(_suspendedCtxt._first, _suspendedCtxt._last);
+		CommandList::iterator first = _suspendedCtxt._first;
+		CommandList::iterator last = _suspendedCtxt._last;
 		cleanSuspendedList();
+		runList(first, last);
 	}
 }
 


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