[Scummvm-git-logs] scummvm master -> 8540da76a18aa6406815e8d43491cd4b19cf86a2

alxpnv noreply at scummvm.org
Tue Dec 7 08:48:02 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8540da76a1 ASYLUM: fix corrupted cursor


Commit: 8540da76a18aa6406815e8d43491cd4b19cf86a2
    https://github.com/scummvm/scummvm/commit/8540da76a18aa6406815e8d43491cd4b19cf86a2
Author: alxpnv (alxpnv22 at yahoo.com)
Date: 2021-12-07T11:48:50+03:00

Commit Message:
ASYLUM: fix corrupted cursor

Bug no. 13145

Changed paths:
    engines/asylum/asylum.cpp


diff --git a/engines/asylum/asylum.cpp b/engines/asylum/asylum.cpp
index 7d0ade0c37..a5ab0aa702 100644
--- a/engines/asylum/asylum.cpp
+++ b/engines/asylum/asylum.cpp
@@ -207,8 +207,8 @@ void AsylumEngine::startGame(ResourcePackId sceneId, StartGameType type) {
 	}
 
 	// Load the default mouse cursor
-	if (!checkGameVersion("Demo"))
-		_cursor->set(MAKE_RESOURCE(kResourcePackSound, 14), 0, kCursorAnimationNone);
+	// Original sets the cursor to a rotating disc
+	_cursor->set(MAKE_RESOURCE(sceneId, 10));
 	_cursor->hide();
 
 	// Clear the graphic list




More information about the Scummvm-git-logs mailing list