aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene31.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/scene31.cpp')
-rw-r--r--engines/fullpipe/scenes/scene31.cpp12
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) {