From 73ec0a71ab022e5aeb3f54f4604aeee0ae7e6b74 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 2 Dec 2013 21:58:02 +0200 Subject: FULLPIPE: Implement sceneHandler04_sub12() --- engines/fullpipe/scenes/scene04.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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()"); } -- cgit v1.2.3