diff options
-rw-r--r-- | src/blitter/8bpp_optimized.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/8bpp_optimized.cpp b/src/blitter/8bpp_optimized.cpp index 24b9252b7..5106bd15f 100644 --- a/src/blitter/8bpp_optimized.cpp +++ b/src/blitter/8bpp_optimized.cpp @@ -182,7 +182,7 @@ Sprite *Blitter_8bppOptimized::Encode(SpriteLoader::Sprite *sprite, AllocatorPro count_dst = NULL; } /* As long as we find transparency bytes, keep counting */ - if (colour == 0) { + if (colour == 0 && trans != 255) { last_colour = 0; trans++; continue; |