From 75aa198dfe34ed8afc4bb5cf9423ac1baa05786c Mon Sep 17 00:00:00 2001 From: David Lindecrantz Date: Thu, 23 May 2019 13:16:23 +0200 Subject: [PATCH] Don't imply that color zero should be transparent in sprite-mode --- src/sfc_tiles.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/sfc_tiles.cpp b/src/sfc_tiles.cpp index 61f00df..309cdc4 100644 --- a/src/sfc_tiles.cpp +++ b/src/sfc_tiles.cpp @@ -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()) {