summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-10-06 19:15:00 +0000
committerrubidium <rubidium@openttd.org>2014-10-06 19:15:00 +0000
commit8c7f376ae174d4bf653a8f4fa17d5188acf83cb5 (patch)
treebea0991f3c593a546a612f6588ceb0082df6d02c
parent9c31ffd893efd0310e1276d179150ba2e9c2c4aa (diff)
downloadopenttd-8c7f376ae174d4bf653a8f4fa17d5188acf83cb5.tar.xz
(svn r26970) -Fix (r26969): non-sse animated blitter crashed occasionally
-rw-r--r--src/blitter/32bpp_anim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blitter/32bpp_anim.cpp b/src/blitter/32bpp_anim.cpp
index 353afa14a..a3083e40b 100644
--- a/src/blitter/32bpp_anim.cpp
+++ b/src/blitter/32bpp_anim.cpp
@@ -180,8 +180,8 @@ inline void Blitter_32bppAnim::Draw(const Blitter::BlitterParams *bp, ZoomLevel
do {
*dst++ = Colour(0, 0, 0);
*anim++ = 0;
- anim++;
- dst++;
+ src_px++;
+ src_n++;
} while (--n != 0);
break;