diff options
author | Eugene Sandulenko | 2016-10-01 21:03:26 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-01 21:26:58 +0200 |
commit | 70f9cc5215cce6a627a65bd4e705d846ca4150e3 (patch) | |
tree | be3492176c0e011a01a361bb95f8c0d9ba1716af /engines | |
parent | 084dfe9e039a555c722731c3a292a26a2757141d (diff) | |
download | scummvm-rg350-70f9cc5215cce6a627a65bd4e705d846ca4150e3.tar.gz scummvm-rg350-70f9cc5215cce6a627a65bd4e705d846ca4150e3.tar.bz2 scummvm-rg350-70f9cc5215cce6a627a65bd4e705d846ca4150e3.zip |
FULLPIPE: Further selection to cursor handling in scene25
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene25.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene25.cpp b/engines/fullpipe/scenes/scene25.cpp index 991b29f12d..36cff8fbc6 100644 --- a/engines/fullpipe/scenes/scene25.cpp +++ b/engines/fullpipe/scenes/scene25.cpp @@ -100,7 +100,7 @@ int scene25_updateCursor() { int inv = getGameLoaderInventory()->getSelectedItemId(); if (g_fp->_objectIdAtCursor == ANI_WATER25) { - if (g_vars->scene25_boardIsSelectable && ((!inv || inv == ANI_INV_BOARD) || (g_vars->scene25_dudeIsOnBoard && (inv == ANI_INV_LOPAT || !inv)))) + if ((g_vars->scene25_boardIsSelectable && (!inv || inv == ANI_INV_BOARD)) || (g_vars->scene25_dudeIsOnBoard && (inv == ANI_INV_LOPAT || !inv))) g_fp->_cursorId = (g_fp->_cursorId != PIC_CSR_DEFAULT) ? PIC_CSR_ITN_INV : PIC_CSR_ITN; } else if (g_fp->_objectIdAtCursor == ANI_BOARD25 && (!inv || inv == ANI_INV_SWAB || inv == ANI_INV_BROOM || inv == ANI_INV_LOPAT)) { g_fp->_cursorId = (g_fp->_cursorId != PIC_CSR_DEFAULT) ? PIC_CSR_ITN_INV : PIC_CSR_ITN; |