Changeset - r7558:cdf53cc606d4
[Not reviewed]
master
0 1 0
truelight - 17 years ago 2007-09-10 14:55:46
truelight@openttd.org
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
1 file changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/blitter/32bpp_anim.cpp
Show inline comments
 
@@ -49,8 +49,6 @@ void Blitter_32bppAnim::Draw(Blitter::Bl
 
				int skip = UnScaleByZoom(src->r, zoom);
 

	
 
				dst  += skip;
 
				/* Make sure the anim-buffer is cleared */
 
				memset(anim, 0, skip);
 
				anim += skip;
 
				x    += skip - 1;
 
				src  += ScaleByZoom(1, zoom) * skip;
0 comments (0 inline, 0 general)