diff options
author | Eugene Sandulenko | 2014-01-02 13:22:30 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-02 13:22:30 +0200 |
commit | c2493c0690b3e3bb9ace7f9bfcdc0a1e8c838053 (patch) | |
tree | 2f8059472822c3cfc011733ada3ac9c40afb7070 /engines | |
parent | 1d865fd826339f17ce1f94f33e7f5ee9ac1a3f15 (diff) | |
download | scummvm-rg350-c2493c0690b3e3bb9ace7f9bfcdc0a1e8c838053.tar.gz scummvm-rg350-c2493c0690b3e3bb9ace7f9bfcdc0a1e8c838053.tar.bz2 scummvm-rg350-c2493c0690b3e3bb9ace7f9bfcdc0a1e8c838053.zip |
FULLPIPE: Implement sceneHandler31_testCactus()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene31.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene31.cpp b/engines/fullpipe/scenes/scene31.cpp index 30763c04d5..9874772685 100644 --- a/engines/fullpipe/scenes/scene31.cpp +++ b/engines/fullpipe/scenes/scene31.cpp @@ -65,7 +65,17 @@ void scene31_initScene(Scene *sc) { } void sceneHandler31_testCactus(ExCommand *cmd) { - warning("STUB: sceneHandler31_testCactus"); + if ((g_vars->scene31_cactus->_flags & 4) && g_vars->scene31_cactus->_statics->_staticsId == ST_CTS31_GROWN2) { + MessageQueue *mq = g_fp->_globalMessageQueueList->getMessageQueueById(cmd->_parId); + + if (mq) { + mq->getExCommandByIndex(0)->_messageKind = 0; + mq->getExCommandByIndex(0)->_excFlags |= 1; + + mq->getExCommandByIndex(1)->_messageKind = 0; + mq->getExCommandByIndex(1)->_excFlags |= 1; + } + } } int sceneHandler31(ExCommand *cmd) { |