mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
This commit is contained in:
parent
8de52c089d
commit
1de38b4119
|
@ -49,8 +49,6 @@ void Blitter_32bppAnim::Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomL
|
||||||
int skip = UnScaleByZoom(src->r, zoom);
|
int skip = UnScaleByZoom(src->r, zoom);
|
||||||
|
|
||||||
dst += skip;
|
dst += skip;
|
||||||
/* Make sure the anim-buffer is cleared */
|
|
||||||
memset(anim, 0, skip);
|
|
||||||
anim += skip;
|
anim += skip;
|
||||||
x += skip - 1;
|
x += skip - 1;
|
||||||
src += ScaleByZoom(1, zoom) * skip;
|
src += ScaleByZoom(1, zoom) * skip;
|
||||||
|
|
Loading…
Reference in New Issue