diff options
author | Eugene Sandulenko | 2014-03-22 00:27:05 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-03-22 00:28:45 +0200 |
commit | 8c7c0d4d37463abcc7fe896a1aba0f37ba4d2116 (patch) | |
tree | fe45d40158b293304b7127e159193d57b53e9dea /engines | |
parent | e57a54d1c1f8b2e5a1681bc88dbf169e5537c4eb (diff) | |
download | scummvm-rg350-8c7c0d4d37463abcc7fe896a1aba0f37ba4d2116.tar.gz scummvm-rg350-8c7c0d4d37463abcc7fe896a1aba0f37ba4d2116.tar.bz2 scummvm-rg350-8c7c0d4d37463abcc7fe896a1aba0f37ba4d2116.zip |
FULLPIPE: Implement sceneHandler29_manBend()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene29.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene29.cpp b/engines/fullpipe/scenes/scene29.cpp index 1586dfbad9..e94dddab26 100644 --- a/engines/fullpipe/scenes/scene29.cpp +++ b/engines/fullpipe/scenes/scene29.cpp @@ -57,7 +57,17 @@ void sceneHandler29_manJump() { } void sceneHandler29_manBend() { - warning("STUB: sceneHandler29_manBend()"); + if (!g_fp->_aniMan->_movement || g_fp->_aniMan->_movement->_id == MV_MAN29_RUN || g_fp->_aniMan->_movement->_id == MV_MAN29_STANDUP) { + g_vars->scene29_var12 = 0; + g_vars->scene29_var15 = 0; + g_vars->scene29_var11 = 1; + + g_fp->_aniMan->changeStatics2(ST_MAN29_RUNR); + g_fp->_aniMan->startAnim(MV_MAN29_BEND, 0, -1); + } + + g_vars->scene29_var20 = g_fp->_aniMan->_ox; + g_vars->scene29_var21 = g_fp->_aniMan->_oy; } void sceneHandler29_sub03() { |