aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/constants.h1
-rw-r--r--engines/fullpipe/scenes/scene37.cpp11
2 files changed, 12 insertions, 0 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 7d99393067..b1d0809ae1 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -1287,6 +1287,7 @@ namespace Fullpipe {
// Scene 37
#define ANI_GUARD_37 2588
#define ANI_RING 2604
+#define PIC_SC37_MASK 2608
#define ST_RNG_CLOSED2 4865
#define ST_RNG_OPEN 2606
diff --git a/engines/fullpipe/scenes/scene37.cpp b/engines/fullpipe/scenes/scene37.cpp
index ed9ce0241f..0383212b84 100644
--- a/engines/fullpipe/scenes/scene37.cpp
+++ b/engines/fullpipe/scenes/scene37.cpp
@@ -149,4 +149,15 @@ void scene37_initScene(Scene *sc) {
g_fp->initArcadeKeys("SC_37");
}
+int scene37_updateCursor() {
+ g_fp->updateCursorCommon();
+
+ if (g_fp->_cursorId == PIC_CSR_ITN && g_fp->_objectIdAtCursor == PIC_SC37_MASK) {
+ if (g_vars->scene37_var07)
+ g_fp->_cursorId = PIC_CSR_GOL;
+ }
+
+ return g_fp->_cursorId;
+}
+
} // End of namespace Fullpipe