(svn r10234) -Fix r10233: make peter1138 happy
authortruelight
Wed, 20 Jun 2007 10:30:25 +0000
changeset 7474 55bfc6938288
parent 7473 1ab4916f4acd
child 7475 7a7a5b807fcb
(svn r10234) -Fix r10233: make peter1138 happy
src/blitter/8bpp_optimized.cpp
--- 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;