aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/constants.h1
-rw-r--r--engines/fullpipe/scenes/scene18and19.cpp9
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 83fafeed6e..6f98e1a8d3 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -891,6 +891,7 @@ namespace Fullpipe {
#define ANI_WHIRLGIG_19 1302
#define MV_WHR19_SPIN 1317
#define PIC_SC19_RTRUBA3 1515
+#define PIC_SC19_RTRUBA31 5320
#define SND_19_015 3928
#define SND_19_016 4995
#define ST_CDI_EMPTY2 1543
diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp
index 5e69ec70f3..759af9127b 100644
--- a/engines/fullpipe/scenes/scene18and19.cpp
+++ b/engines/fullpipe/scenes/scene18and19.cpp
@@ -325,4 +325,13 @@ int scene18_updateCursor() {
return g_fp->_cursorId;
}
+int scene19_updateCursor() {
+ g_fp->updateCursorCommon();
+
+ if (g_fp->_objectIdAtCursor == PIC_SC19_RTRUBA31)
+ g_fp->_cursorId = g_vars->scene19_var05 != 0 ? PIC_CSR_GOR : PIC_CSR_DEFAULT;
+
+ return g_fp->_cursorId;
+}
+
} // End of namespace Fullpipe