[Scummvm-cvs-logs] scummvm master -> 5c063a1f6ce80d98611d961ef928a592456a51da

sev- sev at scummvm.org
Sun May 4 11:22:07 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5c063a1f6c FULLPIPE: Implement MovGraph2::freeItems()


Commit: 5c063a1f6ce80d98611d961ef928a592456a51da
    https://github.com/scummvm/scummvm/commit/5c063a1f6ce80d98611d961ef928a592456a51da
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2014-05-04T12:20:49+03:00

Commit Message:
FULLPIPE: Implement MovGraph2::freeItems()

Changed paths:
    engines/fullpipe/motion.cpp



diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 8aa8794..df0e8d8 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -1186,7 +1186,10 @@ int MovGraph2::removeObject(StaticANIObject *obj) {
 }
 
 void MovGraph2::freeItems() {
-	warning("STUB: MovGraph2::freeItems()");
+	for (uint i = 0; i < _items2.size(); i++)
+		delete _items2[i];
+
+	_items2.clear();
 }
 
 MessageQueue *MovGraph2::method34(StaticANIObject *ani, int xpos, int ypos, int fuzzyMatch, int staticsId) {






More information about the Scummvm-git-logs mailing list