summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-09-10 14:55:46 +0000
committertruelight <truelight@openttd.org>2007-09-10 14:55:46 +0000
commitf055b0b55760490dde5ef0177dfb030ab7108fde (patch)
tree19f488dcbee01678f6aa6a860a4b2faf92e24017
parent65aed53cab0a87031e99c36c4cb34933255ee2fb (diff)
downloadopenttd-f055b0b55760490dde5ef0177dfb030ab7108fde.tar.xz
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
-rw-r--r--src/blitter/32bpp_anim.cpp2
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;