diff options
| author | Eugene Sandulenko | 2013-12-15 13:50:35 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2013-12-15 14:59:31 +0200 | 
| commit | 7cb658f15245140cdefe42727540ec03251b3d29 (patch) | |
| tree | 6a9f247af9aaea721d299b14c5312fd138ce64ba | |
| parent | e18aa62a7f68a49cadc538445d0af8f3f4716656 (diff) | |
| download | scummvm-rg350-7cb658f15245140cdefe42727540ec03251b3d29.tar.gz scummvm-rg350-7cb658f15245140cdefe42727540ec03251b3d29.tar.bz2 scummvm-rg350-7cb658f15245140cdefe42727540ec03251b3d29.zip | |
FULLPIPE: Implement MctlLadder::method34()
| -rw-r--r-- | engines/fullpipe/motion.cpp | 10 | 
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;  } | 
