diff options
author | Eugene Sandulenko | 2013-12-05 22:24:31 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-05 22:24:31 +0200 |
commit | b7d67724b5572131c79a81cb52be2bc5ac6a67e3 (patch) | |
tree | b4736dcf0f3b498fae989dbc1a5bad411552aa47 /engines/fullpipe | |
parent | 85795f60ec1cf91f0b607a83dd8f6c7f384f84b2 (diff) | |
download | scummvm-rg350-b7d67724b5572131c79a81cb52be2bc5ac6a67e3.tar.gz scummvm-rg350-b7d67724b5572131c79a81cb52be2bc5ac6a67e3.tar.bz2 scummvm-rg350-b7d67724b5572131c79a81cb52be2bc5ac6a67e3.zip |
FULLPIPE: Implement sceneHandler04_manFromBottle()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/scenes/scene04.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp index 0a0b804103..78cf48830d 100644 --- a/engines/fullpipe/scenes/scene04.cpp +++ b/engines/fullpipe/scenes/scene04.cpp @@ -319,7 +319,20 @@ void sceneHandler04_lowerPlank() { } void sceneHandler04_manFromBottle() { - warning("sceneHandler04_manFromBottle()"); + for (Common::List<GameObject *>::iterator it = g_vars->scene04_bottleObjList.begin(); it != g_vars->scene04_bottleObjList.end(); ++it) + if (*it == g_fullpipe->_aniMan) { + g_vars->scene04_bottleObjList.erase(it); + g_vars->scene04_var06 -= 9; + break; + } + + //if (g_vars->scene04_ladder) + // delete g_vars->scene04_ladder; + + //g_vars->scene04_ladder = 0; + + getSc2MctlCompoundBySceneId(g_fullpipe->_currentScene->_sceneId)->setEnabled(); + getGameLoaderInteractionController()->enableFlag24(); } void sceneHandler04_manToBottle() { |