mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 04:43:12 +00:00
(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);
|
||||
|
||||
dst += skip;
|
||||
/* Make sure the anim-buffer is cleared */
|
||||
memset(anim, 0, skip);
|
||||
anim += skip;
|
||||
x += skip - 1;
|
||||
src += ScaleByZoom(1, zoom) * skip;
|
||||
|
Loading…
Reference in New Issue
Block a user