Skip to content

Commit

Permalink
Add missing fix for Catacombs amp data
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Sep 10, 2023
1 parent 6986aee commit 2a135fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/automap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,9 @@ void InitAutomap()
size_t tileCount = 0;
std::unique_ptr<AutomapTile[]> tileTypes = LoadAutomapData(tileCount);

if (IsAnyOf(leveltype, DTYPE_CATACOMBS)) {
tileTypes[41] = { AutomapTile::Types::FenceHorizontal };
}
if (IsAnyOf(leveltype, DTYPE_TOWN, DTYPE_CAVES, DTYPE_NEST)) {
tileTypes[4] = { AutomapTile::Types::CaveBottomCorner };
tileTypes[12] = { AutomapTile::Types::CaveRightCorner };
Expand Down

0 comments on commit 2a135fa

Please sign in to comment.