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

aquadran noreply at scummvm.org
Fri Jul 31 15:05:33 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:
a11b25a94b WINTERMUTE: W/A for 'The Lost Crown - A Ghost-Hunting Adventure'


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

Commit Message:
WINTERMUTE: W/A for 'The Lost Crown - A Ghost-Hunting Adventure'

Disable flat shadows for the map on table scene in day 4

Changed paths:
    engines/wintermute/ad/ad_game.cpp


diff --git a/engines/wintermute/ad/ad_game.cpp b/engines/wintermute/ad/ad_game.cpp
index 45d242369d1..2d9e4aec03d 100644
--- a/engines/wintermute/ad/ad_game.cpp
+++ b/engines/wintermute/ad/ad_game.cpp
@@ -2538,6 +2538,14 @@ bool AdGame::displayDebugInfo() {
 Wintermute::TShadowType AdGame::getMaxShadowType(Wintermute::BaseObject *object) {
 	TShadowType ret = BaseGame::getMaxShadowType(object);
 
+	// W/A for 'The Lost Crown - A Ghost-Hunting Adventure'.
+	// Disable flat shadows for the map on table scene in day 4.
+	if (BaseEngine::instance().getGameId() == "thelostcrowngha" &&
+	    _scene && _scene->_filename &&
+		scumm_stricmp(_scene->_filename, "scenes\\maptable\\maptableday4\\maptableday4.scene") == 0) {
+		return SHADOW_NONE;
+	}
+
 	return MIN(ret, _scene->_maxShadowType);
 }
 #endif




More information about the Scummvm-git-logs mailing list