Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stairs rendering in Caves and Hell
Stairs can have the same `TileProperties` as floors but do not always follor the same graphics layout as floors, so we shouldn't apply optimizations to them. The only floors affected seem to be: 1. Caves: tile 48 sub-tile 171 frame 461 (TileProperties: None) 2. Hell: tile 46 sub-tile 141 frame 386 (TileProperties: BlocksMissile) Note that the few broken in pixels in caves are actually incorrectly attributed to the non-Solid tile, really they should be part of the solid tile 49. As there doesn't seem to be a quick and easy way to check if a frame is part of Stairs, we add a check for BlocksMissile tile property instead. This fixes Hell but isn't enough to fix Caves. To fix Caves, we then add a `BlocksMissile` flag to the broken sub-tile.
- Loading branch information