From ea1cd18354faffe4f2454c2dceb2b015bcc75498 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 29 Aug 2003 07:57:20 +0000 Subject: [PATCH] fix dottdemo by checking that room exists before trying to set a custom cursor from it, fixes bug #796971 svn-id: r9909 --- scumm/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 20a1c235864..ab23e0f936d 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);