aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-03 21:36:36 +0200
committerEugene Sandulenko2014-02-03 21:36:36 +0200
commit2ed9d0da3e05f316bcb0fd50204e209479996275 (patch)
treedaf7e9e5f99233cc6219f1219e14a1b7dc6189e7 /engines/fullpipe/scenes
parenta52c6eb5a5c0f80d7991505ff5867f5da43c3b8b (diff)
downloadscummvm-rg350-2ed9d0da3e05f316bcb0fd50204e209479996275.tar.gz
scummvm-rg350-2ed9d0da3e05f316bcb0fd50204e209479996275.tar.bz2
scummvm-rg350-2ed9d0da3e05f316bcb0fd50204e209479996275.zip
FULLPIPE: Implementated sceneHandler27_showNextBat()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene27.cpp9
1 files changed, 8 insertions, 1 deletions
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() {