diff options
author | Eugene Sandulenko | 2014-05-01 12:18:18 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-05-01 12:18:18 +0300 |
commit | b031373ba7fe7515311e1c7528e566ecbe4668cc (patch) | |
tree | 3e5db58baff6226c2cafbc52c50b72c3bbc424ed /engines | |
parent | c7d017e166e3dd486ed443bdaa6591a7655fd15f (diff) | |
download | scummvm-rg350-b031373ba7fe7515311e1c7528e566ecbe4668cc.tar.gz scummvm-rg350-b031373ba7fe7515311e1c7528e566ecbe4668cc.tar.bz2 scummvm-rg350-b031373ba7fe7515311e1c7528e566ecbe4668cc.zip |
FULLPIPE: Implement MctlCompound::removeObject()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/motion.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index 35da154570..d8fa24cbc1 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -125,9 +125,10 @@ void MctlCompound::addObject(StaticANIObject *obj) { } int MctlCompound::removeObject(StaticANIObject *obj) { - warning("STUB: MctlCompound::removeObject()"); + for (uint i = 0; i < _motionControllers.size(); i++) + _motionControllers[i]->_motionControllerObj->removeObject(obj); - return 0; + return 1; } void MctlCompound::initMovGraph2() { |