mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r10234) -Fix r10233: make peter1138 happy
This commit is contained in:
parent
d7acd238ac
commit
636db862a5
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user