diff options
author | Jonathan Gray | 2003-08-29 07:57:20 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-08-29 07:57:20 +0000 |
commit | ea1cd18354faffe4f2454c2dceb2b015bcc75498 (patch) | |
tree | 706c4b1633fa7b9f484d86b774aa2be6b2f5ca36 /scumm | |
parent | ef4fdd03f008fd096b7e34c6015b1b80020e329b (diff) | |
download | scummvm-rg350-ea1cd18354faffe4f2454c2dceb2b015bcc75498.tar.gz scummvm-rg350-ea1cd18354faffe4f2454c2dceb2b015bcc75498.tar.bz2 scummvm-rg350-ea1cd18354faffe4f2454c2dceb2b015bcc75498.zip |
fix dottdemo by checking that room exists before trying to set a custom cursor from it, fixes bug #796971
svn-id: r9909
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 20a1c23586..ab23e0f936 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -3407,7 +3407,7 @@ void Scumm::updatePalette() { void Scumm::setupCursor() { _cursor.animate = 1; - if (_gameId == GID_TENTACLE) { + if (_gameId == GID_TENTACLE && res.roomno[rtRoom][60]) { // HACK: For DOTT we manually set the default cursor. See also bug #786994 setCursorImg(697, 60, 1); makeCursorColorTransparent(1); |