aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-15 13:50:35 +0200
committerEugene Sandulenko2013-12-15 14:59:31 +0200
commit7cb658f15245140cdefe42727540ec03251b3d29 (patch)
tree6a9f247af9aaea721d299b14c5312fd138ce64ba
parente18aa62a7f68a49cadc538445d0af8f3f4716656 (diff)
downloadscummvm-rg350-7cb658f15245140cdefe42727540ec03251b3d29.tar.gz
scummvm-rg350-7cb658f15245140cdefe42727540ec03251b3d29.tar.bz2
scummvm-rg350-7cb658f15245140cdefe42727540ec03251b3d29.zip
FULLPIPE: Implement MctlLadder::method34()
-rw-r--r--engines/fullpipe/motion.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 0aa6a4ace6..693efcb36e 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -303,7 +303,15 @@ void MctlLadder::freeItems() {
}
MessageQueue *MctlLadder::method34(StaticANIObject *subj, int xpos, int ypos, int fuzzyMatch, int staticsId) {
- warning("STUB: MctlLadder::method34()");
+ MessageQueue *mq = doWalkTo(subj, xpos, ypos, fuzzyMatch, staticsId);
+
+ if (mq) {
+ if (mq->chain(subj))
+ return mq;
+
+ } else {
+ delete mq;
+ }
return 0;
}