Skip to content

Commit

Permalink
Don't imply that color zero should be transparent in sprite-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Optiroc committed May 23, 2019
1 parent f7f0926 commit 75aa198
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/sfc_tiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,6 @@ int sfc_tiles(int argc, char* argv[]) {
fmt::print("Remapping tile data from palette \"{}\" ({})\n", settings.in_palette, palette.description());
}

if (settings.sprite_mode && sfc::col0_is_shared_for_sprite_mode(settings.mode)) {
if (verbose)
fmt::print("Treating color zero as transparent ({}/sprite-mode)\n", sfc::mode(settings.mode));
palette.set_color(0, sfc::transparent_color);
}

for (auto& img : crops)
tileset.add(img, &palette);
if (tileset.is_full()) {
Expand Down

0 comments on commit 75aa198

Please # to comment.