mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 12:15:39 +00:00
Fix RGBGFX crash on deduplicating transparent tiles
This commit is contained in:
1 parent
c667bac93a
commit
7b97d7ce15
7 files changed
+2
-1
No files matched your search
+1
-1
@@ -822,7 +822,7 @@ static UniqueTiles dedupTiles(
|
||||
attr.bank = 0;
|
||||
attr.tileID = 0;
|
||||
} else {
|
||||
auto [tileID, matchType] = tiles.addTile({tile, palettes[mappings[attr.colorSetID]]});
|
||||
auto [tileID, matchType] = tiles.addTile({tile, palettes[attr.getPalID(mappings)]});
|
||||
|
||||
if (inputWithoutOutput && matchType == TileData::NOPE) {
|
||||
error(
|
||||
|
||||
Reference in new issue
Block a user