uint16_t tileIdx type matches options.baseTileIDs

Tile IDs wrap at 8 bits, but that's handled by `uint8_t tileID`
This commit is contained in:
Rangi
2026-07-19 23:33:01 -04:00
parent e84bcf83b4
commit 7e11ab4d8f
+1 -1
View File
@@ -691,7 +691,7 @@ static void outputUnoptimizedMaps(
autoOpenPath(options.attrmap, attrmapOutput);
autoOpenPath(options.palmap, palmapOutput);
uint8_t tileIdx = 0;
uint16_t tileIdx = 0;
uint8_t bank = 0;
for (AttrmapEntry const &attr : attrmap) {
// The update-increment logic at the end of this loop may increment `bank` from 1 to 2,