diff options
-rw-r--r-- | scumm/gfx.cpp | 8 | ||||
-rw-r--r-- | scumm/scumm.h | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index a796535281..fdb87f077e 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -3374,6 +3374,14 @@ void Scumm::updatePalette() { #pragma mark --- Cursor --- #pragma mark - +void Scumm::setupCursor() { + _cursor.animate = 1; + if (_gameId == GID_TENTACLE) { + setCursorImg(697, 60, 1); + makeCursorColorTransparent(1); + } +} + void Scumm::grabCursor(int x, int y, int w, int h) { VirtScreen *vs = findVirtScreen(y); diff --git a/scumm/scumm.h b/scumm/scumm.h index 4f81d779f0..6e0f409063 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -909,7 +909,7 @@ protected: void grabCursor(int x, int y, int w, int h); void grabCursor(byte *ptr, int width, int height); void makeCursorColorTransparent(int a); - void setupCursor() { _cursor.animate = 1; } + void setupCursor(); void decompressDefaultCursor(int index); void useIm01Cursor(const byte *im, int w, int h); void useBompCursor(const byte *im, int w, int h); |