aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-02 21:58:02 +0200
committerEugene Sandulenko2013-12-02 21:58:53 +0200
commit73ec0a71ab022e5aeb3f54f4604aeee0ae7e6b74 (patch)
treec954b7b77c83aeda718df7c963bb8428baa1f0eb
parentccc92b2e707643915efc575cd43fdd11169dc733 (diff)
downloadscummvm-rg350-73ec0a71ab022e5aeb3f54f4604aeee0ae7e6b74.tar.gz
scummvm-rg350-73ec0a71ab022e5aeb3f54f4604aeee0ae7e6b74.tar.bz2
scummvm-rg350-73ec0a71ab022e5aeb3f54f4604aeee0ae7e6b74.zip
FULLPIPE: Implement sceneHandler04_sub12()
-rw-r--r--engines/fullpipe/scenes/scene04.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp
index d642ebfcd2..7f6ac8e74b 100644
--- a/engines/fullpipe/scenes/scene04.cpp
+++ b/engines/fullpipe/scenes/scene04.cpp
@@ -433,6 +433,16 @@ void sceneHandler04_sub9(StaticANIObject *ani) {
warning("sceneHandler04_sub9()");
}
+void sceneHandler04_sub12() {
+ StaticANIObject *ball = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_BIGBALL, -1);
+
+ if (ball && ball->_flags & 4)
+ for (uint i = 0; i < ball->_movements.size(); i++)
+ ((Movement *)ball->_movements[i])->_counterMax = 0;
+
+ g_vars->scene04_var13 = 0;
+}
+
void sceneHandler04_sub15() {
warning("sceneHandler04_sub15()");
}