mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r10234) -Fix r10233: make peter1138 happy
This commit is contained in:
@@ -151,7 +151,7 @@ Sprite *Blitter_8bppOptimized::Encode(SpriteLoader::Sprite *sprite, Blitter::All
|
|||||||
if (rx == sprite->width) break;
|
if (rx == sprite->width) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (last_color == 0 || color == 0 || pixels > 250) {
|
if (last_color == 0 || color == 0 || pixels == 255) {
|
||||||
if (count_index != 0) {
|
if (count_index != 0) {
|
||||||
/* Write how many non-transparent bytes we get */
|
/* Write how many non-transparent bytes we get */
|
||||||
temp_dst[count_index] = pixels;
|
temp_dst[count_index] = pixels;
|
||||||
|
Reference in New Issue
Block a user