| author | truelight |
| Wed, 20 Jun 2007 10:30:25 +0000 | |
| changeset 7474 | 55bfc6938288 |
| parent 7473 | 1ab4916f4acd |
| child 7475 | 7a7a5b807fcb |
--- a/src/blitter/8bpp_optimized.cpp Wed Jun 20 10:26:39 2007 +0000 +++ b/src/blitter/8bpp_optimized.cpp Wed Jun 20 10:30:25 2007 +0000 @@ -151,7 +151,7 @@ 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) { /* Write how many non-transparent bytes we get */ temp_dst[count_index] = pixels;