mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
fix dottdemo by checking that room exists before trying to set a custom cursor from it, fixes bug #796971
svn-id: r9909
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user