diff options
author | truelight <truelight@openttd.org> | 2007-09-10 14:55:46 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-09-10 14:55:46 +0000 |
commit | f055b0b55760490dde5ef0177dfb030ab7108fde (patch) | |
tree | 19f488dcbee01678f6aa6a860a4b2faf92e24017 /src/blitter | |
parent | 65aed53cab0a87031e99c36c4cb34933255ee2fb (diff) | |
download | openttd-f055b0b55760490dde5ef0177dfb030ab7108fde.tar.xz |
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
Diffstat (limited to 'src/blitter')
-rw-r--r-- | src/blitter/32bpp_anim.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/blitter/32bpp_anim.cpp b/src/blitter/32bpp_anim.cpp index c2cca0721..5d937d997 100644 --- a/src/blitter/32bpp_anim.cpp +++ b/src/blitter/32bpp_anim.cpp @@ -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; |