aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/sceneFinal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/sceneFinal.cpp')
-rw-r--r--engines/fullpipe/scenes/sceneFinal.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/sceneFinal.cpp b/engines/fullpipe/scenes/sceneFinal.cpp
index 0e4906e712..6ba72de8b4 100644
--- a/engines/fullpipe/scenes/sceneFinal.cpp
+++ b/engines/fullpipe/scenes/sceneFinal.cpp
@@ -97,7 +97,12 @@ void sceneHandlerFinal_startFinal() {
}
void sceneHandlerFinal_fallCoin() {
- warning("STUB: sceneHandlerFinal_fallCoin()");
+ StaticANIObject *coin = g_fp->_currentScene->getStaticANIObject1ById(ANI_FIN_COIN, -1);
+
+ if (!coin->_movement) {
+ if (!coin->_statics || coin->_statics->_staticsId != ST_FCN_NORM)
+ chainQueue(QU_FIN1_FALLCOIN, 1);
+ }
}
int sceneHandlerFinal(ExCommand *cmd) {