diff options
-rw-r--r-- | engines/fullpipe/constants.h | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene26.cpp | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 186f2f54ba..811afd401a 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -932,6 +932,8 @@ namespace Fullpipe { #define ANI_INV_VENT 1968 #define ANI_LUK26 1867 #define ANI_SOCK_26 4553 +#define ANI_VENT 1927 +#define PIC_SC26_LTRUBA 1864 #define PIC_SC26_SOCK 5312 #define SND_26_018 5340 diff --git a/engines/fullpipe/scenes/scene26.cpp b/engines/fullpipe/scenes/scene26.cpp index cc6eeb8e7a..bf81f2f540 100644 --- a/engines/fullpipe/scenes/scene26.cpp +++ b/engines/fullpipe/scenes/scene26.cpp @@ -67,4 +67,17 @@ void scene26_initScene(Scene *sc) { g_fp->playSound(SND_26_018, 1); } +int scene26_updateCursor() { + g_fp->updateCursorCommon(); + + if (g_fp->_objectIdAtCursor != ANI_VENT || g_fp->_cursorId != PIC_CSR_DEFAULT) { + if (g_fp->_cursorId == PIC_CSR_ITN && g_fp->_objectIdAtCursor == PIC_SC26_LTRUBA) + g_fp->_cursorId = PIC_CSR_GOL; + } else { + g_fp->_cursorId = PIC_CSR_ITN; + } + + return g_fp->_cursorId; +} + } // End of namespace Fullpipe |