diff options
author | Eugene Sandulenko | 2014-01-10 00:23:27 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-10 00:42:21 +0200 |
commit | 692b19992358378684d6b2a7548c80a17445b1f2 (patch) | |
tree | f94eb2dab45b7c460196cbe6963d79c0c205f442 | |
parent | 5114398e979bdb7145932be854eb770c66bd1dd7 (diff) | |
download | scummvm-rg350-692b19992358378684d6b2a7548c80a17445b1f2.tar.gz scummvm-rg350-692b19992358378684d6b2a7548c80a17445b1f2.tar.bz2 scummvm-rg350-692b19992358378684d6b2a7548c80a17445b1f2.zip |
FULLPIPE: Implement sceneHandler33_processJettie()
-rw-r--r-- | engines/fullpipe/scenes/scene33.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene33.cpp b/engines/fullpipe/scenes/scene33.cpp index ed9d9c67ef..9fe3810e8d 100644 --- a/engines/fullpipe/scenes/scene33.cpp +++ b/engines/fullpipe/scenes/scene33.cpp @@ -80,7 +80,23 @@ int scene33_updateCursor() { } void sceneHandler33_processJettie(ExCommand *cmd) { - warning("STUB: sceneHandler33_processJettie(cmd"); + MessageQueue *mq = g_fp->_globalMessageQueueList->getMessageQueueById(cmd->_parId); + + if (mq && g_vars->scene33_jettie->_movement) { + ExCommand *ex = mq->getExCommandByIndex(0); + + if (ex) { + ex->_messageKind = 0; + ex->_excFlags |= 1; + } + + ex = mq->getExCommandByIndex(1); + + if (ex) { + ex->_messageKind = 0; + ex->_excFlags |= 1; + } + } } void sceneHandler33_processVents() { |