[Scummvm-git-logs] scummvm master -> a6b9a2bcff5c0f9e29e7ca292741cd4ccf059748

bluegr noreply at scummvm.org
Sun Aug 2 23:29:50 UTC 2026


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

Summary:
a6b9a2bcff BURIED: Update cursor icon after navigation.


Commit: a6b9a2bcff5c0f9e29e7ca292741cd4ccf059748
    https://github.com/scummvm/scummvm/commit/a6b9a2bcff5c0f9e29e7ca292741cd4ccf059748
Author: Kevin Howald (kevin.howald at gmail.com)
Date: 2026-08-03T02:29:46+03:00

Commit Message:
BURIED: Update cursor icon after navigation.

Prior to this change, the cursor icon shown was stale until
the player moved the cursor.

Changed paths:
    engines/buried/scene_view.cpp


diff --git a/engines/buried/scene_view.cpp b/engines/buried/scene_view.cpp
index bd3cefe80ba..d51cb8d1239 100644
--- a/engines/buried/scene_view.cpp
+++ b/engines/buried/scene_view.cpp
@@ -30,6 +30,7 @@
 #include "buried/graphics.h"
 #include "buried/inventory_window.h"
 #include "buried/livetext.h"
+#include "buried/message.h"
 #include "buried/navarrow.h"
 #include "buried/resources.h"
 #include "buried/scene_view.h"
@@ -673,6 +674,9 @@ bool SceneViewWindow::moveToDestination(const DestinationScene &destinationData)
 	if (_vm->isDemo() && newSceneStaticData.location.environment != oldLocation.environment)
 		startDemoAmbientSound();
 
+	// Ensure cursor icon matches interaction points at the destination node.
+	resetCursor();
+
 	return true;
 }
 
@@ -2500,8 +2504,9 @@ bool SceneViewWindow::changeSpriteStatus(bool status) {
 }
 
 bool SceneViewWindow::resetCursor() {
-	_vm->_gfx->setCursor((Cursor)_curCursor);
-	return true;
+	// Ensure the pointer icon is appropriate for the current scene by simulating
+	// a mouse move to its existing position.
+	return onSetCursor(kMessageTypeMouseMove);
 }
 
 bool SceneViewWindow::displayLiveText(const Common::String &text, bool notifyUser) {




More information about the Scummvm-git-logs mailing list