[Scummvm-git-logs] scummvm master -> 4edb3f2db1dd09ec5fa72a6336f78fe7ccefde39

athrxx noreply at scummvm.org
Sun Aug 30 21:05:14 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:
4edb3f2db1 KYRA: (EOB automap feature) - minor fix


Commit: 4edb3f2db1dd09ec5fa72a6336f78fe7ccefde39
    https://github.com/scummvm/scummvm/commit/4edb3f2db1dd09ec5fa72a6336f78fe7ccefde39
Author: athrxx (athrxx at scummvm.org)
Date: 2026-08-30T23:04:02+02:00

Commit Message:
KYRA: (EOB automap feature) - minor fix

Reveal blocks in sight behind a door if it is open.

Changed paths:
    engines/kyra/gui/automap_eob.cpp


diff --git a/engines/kyra/gui/automap_eob.cpp b/engines/kyra/gui/automap_eob.cpp
index 7759a7ef8f0..e06101beb5b 100644
--- a/engines/kyra/gui/automap_eob.cpp
+++ b/engines/kyra/gui/automap_eob.cpp
@@ -305,7 +305,7 @@ void Automap_EoB::markSeen(uint16 block, int8 dir) {
 	// players walk around pointlessly just to complete the map). 
 	// First value is the relative direction to move, next is whether to reveal the block or not. We don't reveal the
 	// blocks directly to the left/right of the party (behind line of sight), even if our route passes through them.
-	// We also don't reveal behind doors or breakable block objects.
+	// We also don't reveal behind closed doors or breakable block objects.
 	static const int8 traceRoutes[5][4] = {
 		{ -1,  0,  0,  1 },
 		{  0,  0, -1,  1 },
@@ -332,7 +332,7 @@ void Automap_EoB::markSeen(uint16 block, int8 dir) {
 			b = nb;
 			if (reveal)
 				_blockData[b].direction |= 1;
-			if (_wllWallFlags[wn] & 8 || breakableFromHere)
+			if ((_wllWallFlags[wn] & 9) == 8 || breakableFromHere)
 				break;
 		}
 	}




More information about the Scummvm-git-logs mailing list