diff options
author | Eugene Sandulenko | 2016-10-01 20:45:00 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-01 20:45:00 +0200 |
commit | 50753f292a1af45b05871962168a1503e5e03ab7 (patch) | |
tree | da62a62cdbd48ba638c899ff12200e3b951653ff /engines/fullpipe | |
parent | b624e4e7b75763c35c7bb0c8df00eb6845553475 (diff) | |
download | scummvm-rg350-50753f292a1af45b05871962168a1503e5e03ab7.tar.gz scummvm-rg350-50753f292a1af45b05871962168a1503e5e03ab7.tar.bz2 scummvm-rg350-50753f292a1af45b05871962168a1503e5e03ab7.zip |
FULLPIPE: Fix cursor handling in scene25
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/scenes/scene25.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene25.cpp b/engines/fullpipe/scenes/scene25.cpp index 9bc8f412f1..991b29f12d 100644 --- a/engines/fullpipe/scenes/scene25.cpp +++ b/engines/fullpipe/scenes/scene25.cpp @@ -100,10 +100,10 @@ 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))) - g_fp->_cursorId = (g_fp->_cursorId != PIC_CSR_DEFAULT) ? PIC_CSR_ITN : PIC_CSR_ITN_INV; // FIXME check + 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 : PIC_CSR_ITN_INV; + g_fp->_cursorId = (g_fp->_cursorId != PIC_CSR_DEFAULT) ? PIC_CSR_ITN_INV : PIC_CSR_ITN; } } |