From 028d32fb7a555945b2a2e33eee0848e5181f8529 Mon Sep 17 00:00:00 2001 From: staphen Date: Sun, 5 Jan 2025 19:59:21 -0500 Subject: [PATCH] Fix nonsolid fence tiles --- Source/levels/gendung.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/levels/gendung.cpp b/Source/levels/gendung.cpp index ae53779e9..830e0e576 100644 --- a/Source/levels/gendung.cpp +++ b/Source/levels/gendung.cpp @@ -476,6 +476,10 @@ tl::expected LoadLevelSOLData() // have a few pixels that should belong to the solid tile 49 instead. // Marks the sub-tile as "BlockMissile" to avoid treating it as a floor during rendering. SOLData[170] |= TileProperties::BlockMissile; + // Fence sub-tiles 481 and 487 are substitutes for solid sub-tiles 473 and 479 + // but are not marked as solid. + SOLData[481] |= TileProperties::Solid; + SOLData[487] |= TileProperties::Solid; break; case DTYPE_HELL: RETURN_IF_ERROR(LoadFileInMemWithStatus("levels\\l4data\\l4.sol", SOLData));