[Scummvm-git-logs] scummvm master -> 0146e85ea966be970bdb0dfb2383b5d65cd34b3e

aquadran noreply at scummvm.org
Sun Jul 19 15:01:44 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:
0146e85ea9 WINTERMUTE: W/A cursor hiding in 'Night in the Fog'


Commit: 0146e85ea966be970bdb0dfb2383b5d65cd34b3e
    https://github.com/scummvm/scummvm/commit/0146e85ea966be970bdb0dfb2383b5d65cd34b3e
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-07-19T17:01:31+02:00

Commit Message:
WINTERMUTE: W/A cursor hiding in 'Night in the Fog'

Changed paths:
    engines/wintermute/base/base_game.cpp


diff --git a/engines/wintermute/base/base_game.cpp b/engines/wintermute/base/base_game.cpp
index e6f2c61b591..13a5eea7673 100644
--- a/engines/wintermute/base/base_game.cpp
+++ b/engines/wintermute/base/base_game.cpp
@@ -3762,7 +3762,11 @@ bool BaseGame::scSetProperty(const char *name, ScValue *value) {
 	// CursorHidden
 	//////////////////////////////////////////////////////////////////////////
 	else if (strcmp(name, "CursorHidden") == 0) {
-		_cursorHidden = value->getBool();
+		// 'Night in the Fog' scripts hide cursor and suppose to unhide,
+		// unhide does not happen, so skip hidding
+		if (BaseEngine::instance().getGameId() != "nightinthefog") {
+			_cursorHidden = value->getBool();
+		}
 		return STATUS_OK;
 	} else {
 		return BaseObject::scSetProperty(name, value);




More information about the Scummvm-git-logs mailing list