diff options
-rw-r--r-- | engines/fullpipe/scenes/scene11.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene11.cpp b/engines/fullpipe/scenes/scene11.cpp index b3dc4a6de1..02f29e1a4f 100644 --- a/engines/fullpipe/scenes/scene11.cpp +++ b/engines/fullpipe/scenes/scene11.cpp @@ -163,6 +163,18 @@ void sceneHandler11_hitMan() { } } +int scene11_updateCursor() { + g_fp->updateCursorCommon(); + + if (g_vars->scene11_var02) { + if (g_fp->_cursorId != PIC_CSR_DEFAULT_INV && g_fp->_cursorId != PIC_CSR_ITN_INV) + g_fp->_cursorId = -1; + } else if (g_vars->scene11_swingie == g_fp->_objectAtCursor && g_fp->_inventory->getSelectedItemId() == ANI_INV_BOOT) + g_fp->_cursorId = PIC_CSR_ITN_INV; + + return g_fp->_cursorId; +} + int sceneHandler11_updateScreenCallback() { int res = g_fp->drawArcadeOverlay(g_vars->scene11_var02); |