summaryrefslogtreecommitdiff
path: root/src
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
commit1de38b41190e7a022c1258b204e09d1fc5b8797a (patch)
tree19f488dcbee01678f6aa6a860a4b2faf92e24017 /src
parent8de52c089d21624dde53af646527cd4b601df157 (diff)
downloadopenttd-1de38b41190e7a022c1258b204e09d1fc5b8797a.tar.xz
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
Diffstat (limited to 'src')
-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;