Skip to content

Commit

Permalink
Fix nonsolid fence tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills committed Jan 6, 2025
1 parent 0d188dd commit cb8c837
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/levels/gendung.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ tl::expected<void, std::string> 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));
Expand Down

0 comments on commit cb8c837

Please sign in to comment.