aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-04 22:54:50 +0200
committerEugene Sandulenko2014-01-05 00:53:30 +0200
commitc174883e0559e4c7e0f26f3e024bc255f6dfefde (patch)
tree8fd8e2402d31578c40811f2c35b327193fc9807b
parentfb234a2d0ce535a01fb564927735ede756a245f6 (diff)
downloadscummvm-rg350-c174883e0559e4c7e0f26f3e024bc255f6dfefde.tar.gz
scummvm-rg350-c174883e0559e4c7e0f26f3e024bc255f6dfefde.tar.bz2
scummvm-rg350-c174883e0559e4c7e0f26f3e024bc255f6dfefde.zip
FULLPIPE: Implement doSomeAnimation()
-rw-r--r--engines/fullpipe/motion.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index b24790ced5..2d26a3ea3c 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -2214,7 +2214,11 @@ int startWalkTo(int objId, int objKey, int x, int y, int a5) {
}
int doSomeAnimation(int objId, int objKey, int a3) {
- warning("STUB: doSomeAnimation(%d, %d, %d)", objId, objKey, a3);
+ StaticANIObject *ani = g_fp->_currentScene->getStaticANIObject1ById(objId, objKey);
+ MctlCompound *cmp = getCurrSceneSc2MotionController();
+
+ if (ani && cmp)
+ return cmp->method3C(ani, a3);
return 0;
}