aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-06 19:47:38 +0200
committerEugene Sandulenko2014-01-06 22:36:16 +0200
commit63dd8460bc84a8a9037def6d1302cf005b09d7ee (patch)
treea2597e2d273507cb9e4621ffd5ba1cc275bd1a77 /engines/fullpipe/scenes
parent475ccb24b2c9c12e01a315af4ab5d6a055a53fb2 (diff)
downloadscummvm-rg350-63dd8460bc84a8a9037def6d1302cf005b09d7ee.tar.gz
scummvm-rg350-63dd8460bc84a8a9037def6d1302cf005b09d7ee.tar.bz2
scummvm-rg350-63dd8460bc84a8a9037def6d1302cf005b09d7ee.zip
FULLPIPE: Implement scene28_updateCursor()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene28.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene28.cpp b/engines/fullpipe/scenes/scene28.cpp
index bdb1699d70..10139a911e 100644
--- a/engines/fullpipe/scenes/scene28.cpp
+++ b/engines/fullpipe/scenes/scene28.cpp
@@ -54,4 +54,13 @@ void scene28_initScene() {
g_fp->initArcadeKeys("SC_28");
}
+int scene28_updateCursor() {
+ g_fp->updateCursorCommon();
+ if (g_fp->_objectIdAtCursor == ANI_LIFT || g_fp->_objectIdAtCursor == ANI_LIFT_28)
+ if (g_fp->_cursorId == PIC_CSR_DEFAULT)
+ g_fp->_cursorId = PIC_CSR_ITN;
+
+ return g_fp->_cursorId;
+}
+
} // End of namespace Fullpipe