Skip to content

Commit

Permalink
Fix warning (blockType is currently not used)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Jan 20, 2025
1 parent 9913714 commit a43df20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tilemap_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ void TilemapLayer::RecalculateAutotile(int x, int y, int tile_id) {
return neighbors;
};

auto processBlock = [&](int blockType, int blockStride, int blockBase, auto isSameAutotileFn) {
auto processBlock = [&](int /*blockType*/, int blockStride, int blockBase, auto isSameAutotileFn) {
uint8_t neighbors = calculateNeighbors(isSameAutotileFn);
int block = (tile_id - blockBase) / blockStride;
int variant = AUTOTILE_D_VARIANTS_MAP.at(neighbors);
Expand Down

0 comments on commit a43df20

Please sign in to comment.