diff options
-rw-r--r-- | engines/fullpipe/constants.h | 1 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene27.cpp | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 8e1ec4d7ca..889de5a252 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -1100,6 +1100,7 @@ namespace Fullpipe { #define PIC_SC27_HITZONE2 4756 #define QU_DRV_GIVEVENT 2040 #define QU_MID_CLEANVENT 4583 +#define QU_SC27_SHOWBET 3368 #define SND_27_027 4128 #define SND_27_044 4687 #define ST_DRV_VENT 1996 diff --git a/engines/fullpipe/scenes/scene27.cpp b/engines/fullpipe/scenes/scene27.cpp index 4593f905ad..2d75445219 100644 --- a/engines/fullpipe/scenes/scene27.cpp +++ b/engines/fullpipe/scenes/scene27.cpp @@ -192,7 +192,14 @@ void sceneHandler27_takeVent() { } void sceneHandler27_showNextBat() { - warning("STUB: sceneHandler27_showNextBat()"); + if (g_vars->scene27_bat) { + MessageQueue *mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC27_SHOWBET), 0, 1); + + mq->replaceKeyCode(-1, g_vars->scene27_bat->_okeyCode); + mq->chain(0); + } + + g_vars->scene27_batHandler->_priority = 1045; } int sceneHandler27_updateScreenCallback() { |