diff options
author | Eugene Sandulenko | 2014-05-04 12:20:49 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-05-04 12:20:49 +0300 |
commit | 5c063a1f6ce80d98611d961ef928a592456a51da (patch) | |
tree | b5be0c2264b99827dc26036a26e0932e541bc391 | |
parent | 71002e26e7f798a583d408f0154d204ae65e29be (diff) | |
download | scummvm-rg350-5c063a1f6ce80d98611d961ef928a592456a51da.tar.gz scummvm-rg350-5c063a1f6ce80d98611d961ef928a592456a51da.tar.bz2 scummvm-rg350-5c063a1f6ce80d98611d961ef928a592456a51da.zip |
FULLPIPE: Implement MovGraph2::freeItems()
-rw-r--r-- | engines/fullpipe/motion.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index 8aa879477f..df0e8d8e35 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) { |