diff options
-rw-r--r-- | engines/fullpipe/constants.h | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene26.cpp | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 40809d4e49..5ab328a792 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -948,6 +948,8 @@ namespace Fullpipe { #define SND_26_018 5340 #define ST_CHI_EMPTY 1959 #define ST_CHI_NORM 1960 +#define ST_VNT26_RIGHT2 3348 +#define ST_VNT26_UP2 1948 // Scene 30 #define ANI_LEG 2322 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() { |