aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/motion.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 4f854b6304..7c46d1756c 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -171,7 +171,9 @@ void MctlCompound::initMctlGraph() {
MctlGraph *newgr = new MctlGraph();
newgr->_links = gr->_links;
+ gr->_links.clear();
newgr->_nodes = gr->_nodes;
+ gr->_nodes.clear();
_motionControllers[i]->_motionControllerObj.reset(newgr);
}