diff options
Diffstat (limited to 'src/spriteloader')
-rw-r--r-- | src/spriteloader/png.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/spriteloader/png.cpp b/src/spriteloader/png.cpp index 43301616b..76c914cbf 100644 --- a/src/spriteloader/png.cpp +++ b/src/spriteloader/png.cpp @@ -186,9 +186,6 @@ static bool LoadPNG(SpriteLoader::Sprite *sprite, const char *filename, uint32 i for (uint x = 0; x < png_get_image_width(png_ptr, info_ptr); x++) { if (mask) { if (row_pointer[x * sizeof(uint8)] != 0) { - dst[x].r = 0; - dst[x].g = 0; - dst[x].b = 0; /* Alpha channel is used from the original image (to allow transparency in remap colours) */ extern const byte _palmap_w2d[]; byte colour = row_pointer[x * sizeof(uint8)]; |