aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene26.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/scene26.cpp')
-rw-r--r--engines/fullpipe/scenes/scene26.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene26.cpp b/engines/fullpipe/scenes/scene26.cpp
index 4fbcbf35db..65ce6dd95c 100644
--- a/engines/fullpipe/scenes/scene26.cpp
+++ b/engines/fullpipe/scenes/scene26.cpp
@@ -112,7 +112,19 @@ void sceneHandler26_testVent() {
}
void sceneHandler26_showVent() {
- warning("STUB: sceneHandler26_showVent()");
+ if (g_vars->scene26_var05) {
+ int id = g_vars->scene26_var05->_statics->_staticsId;
+
+ if (id == ST_VNT26_UP2) {
+ g_vars->scene26_var05->changeStatics2(ST_VNT26_RIGHT2);
+ } else {
+ if (id != ST_VNT26_RIGHT2)
+ return;
+
+ g_vars->scene26_var05->changeStatics2(ST_VNT26_UP2);
+ }
+ g_vars->scene26_var05->show1(-1, -1, -1, 0);
+ }
}
void sceneHandler26_hideVent() {