aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-17 10:23:24 +0200
committerEugene Sandulenko2013-12-17 10:23:24 +0200
commit3fb03efbe33fff3b83e0facc67e96e9253987fe5 (patch)
tree921f15d1c366a65887cddaba56f48a59fb79cba2 /engines/fullpipe/scenes
parentce586cf836deb63b08db667d8faba72fb50e2fad (diff)
downloadscummvm-rg350-3fb03efbe33fff3b83e0facc67e96e9253987fe5.tar.gz
scummvm-rg350-3fb03efbe33fff3b83e0facc67e96e9253987fe5.tar.bz2
scummvm-rg350-3fb03efbe33fff3b83e0facc67e96e9253987fe5.zip
FULLPIPE: Implement sceneHandler06_buttonPush()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene06.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp
index ecccd7844d..73f38e4cf6 100644
--- a/engines/fullpipe/scenes/scene06.cpp
+++ b/engines/fullpipe/scenes/scene06.cpp
@@ -107,7 +107,13 @@ void sceneHandler06_uPipeClick() {
}
void sceneHandler06_buttonPush() {
- warning("STUB: sceneHandler06_buttonPush()");
+ g_vars->scene06_invHandle = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_INV_HANDLE, -1);
+
+ if (g_vars->scene06_invHandle)
+ if (g_vars->scene06_invHandle->_flags & 4)
+ if (g_vars->scene06_invHandle->_statics)
+ if (g_vars->scene06_invHandle->_statics->_staticsId == ST_HDL_PLUGGED)
+ chainQueue(QU_SC6_FALLHANDLE, 1);
}
void sceneHandler06_showNextBall() {