diff options
author | Eugene Sandulenko | 2013-12-27 21:23:59 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-27 21:23:59 +0200 |
commit | ea66761b0466a8ba58fa6b1d9650fa518c8ea513 (patch) | |
tree | 4f7686290f8066d33829e810473506cf155f3eca /engines/fullpipe/scenes | |
parent | 271e85a1bc7d517568dc4798d242aa585576fa3b (diff) | |
download | scummvm-rg350-ea66761b0466a8ba58fa6b1d9650fa518c8ea513.tar.gz scummvm-rg350-ea66761b0466a8ba58fa6b1d9650fa518c8ea513.tar.bz2 scummvm-rg350-ea66761b0466a8ba58fa6b1d9650fa518c8ea513.zip |
FULLPIPE: Implement sceneHandler11_hitMan()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene11.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene11.cpp b/engines/fullpipe/scenes/scene11.cpp index 0782ef8b7a..388421fc22 100644 --- a/engines/fullpipe/scenes/scene11.cpp +++ b/engines/fullpipe/scenes/scene11.cpp @@ -150,7 +150,17 @@ void sceneHandler11_restartMan() { } void sceneHandler11_hitMan() { - warning("STUB: sceneHandler11_hitMan()"); + if (g_fp->_aniMan->_ox > 345 && g_fp->_aniMan->_ox < 355) { + g_fp->_aniMan->changeStatics2(ST_MAN_RIGHT); + + MessageQueue *mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC11_MANFALL), 0, 0); + + mq->setFlags(mq->getFlags() | 1); + if (!mq->chain(g_fp->_aniMan)) + delete mq; + + getCurrSceneSc2MotionController()->replaceNodeX(353, 303); + } } void sceneHandler11_manToSwing() { |