aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene05.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/scene05.cpp')
-rw-r--r--engines/fullpipe/scenes/scene05.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene05.cpp b/engines/fullpipe/scenes/scene05.cpp
index 5900e73353..0e7731163c 100644
--- a/engines/fullpipe/scenes/scene05.cpp
+++ b/engines/fullpipe/scenes/scene05.cpp
@@ -72,7 +72,18 @@ void scene05_initScene(Scene *sc) {
}
void sceneHandler05_makeManFlight() {
- warning("STUB: sceneHandler05_makeManFlight()");
+ int qid;
+
+ if (!g_vars->scene05_bigHatch->_statics || g_vars->scene05_bigHatch->_statics->_staticsId != ST_BLK_OPEN)
+ qid = QU_SC5_MANBUMP;
+ else
+ qid = QU_SC5_MANFLY;
+
+ MessageQueue *mq = new MessageQueue(g_fullpipe->_currentScene->getMessageQueueById(qid), 0, 0);
+
+ mq->setFlags(mq->getFlags() | 1);
+
+ mq->chain(0);
}
void sceneHandler05_makeOtmFeedback() {