diff options
author | Eugene Sandulenko | 2014-01-02 13:47:47 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-02 13:47:47 +0200 |
commit | b2fe937db5f54499676c860761360ea17df5c8f2 (patch) | |
tree | 2705990308ce7512d561754c5afe87e5d871c841 /engines | |
parent | ff6cbe625b31c2fee34282dc4f22932cc112b28a (diff) | |
download | scummvm-rg350-b2fe937db5f54499676c860761360ea17df5c8f2.tar.gz scummvm-rg350-b2fe937db5f54499676c860761360ea17df5c8f2.tar.bz2 scummvm-rg350-b2fe937db5f54499676c860761360ea17df5c8f2.zip |
FULLPIPE: Implement scene30_enablePass()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene30.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene30.cpp b/engines/fullpipe/scenes/scene30.cpp index 125f8a9291..ace3ce0d58 100644 --- a/engines/fullpipe/scenes/scene30.cpp +++ b/engines/fullpipe/scenes/scene30.cpp @@ -37,7 +37,12 @@ namespace Fullpipe { void scene30_enablePass(Scene *sc) { - warning("STUB: scene30_enablePass()"); + MovGraphLink *lnk = getSc2MctlCompoundBySceneId(sc->_sceneId)->getLinkByName(sO_WayToPipe); + + if (g_fp->getObjectState(sO_Leg) == g_fp->getObjectEnumState(sO_Leg, sO_WithAll)) + lnk->_flags &= 0xDFFFFFFF; + else + lnk->_flags |= 0x20000000; } void scene30_initScene(Scene *sc, int flag) { |