diff options
author | rubidium <rubidium@openttd.org> | 2014-10-06 19:15:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-10-06 19:15:00 +0000 |
commit | 8c7f376ae174d4bf653a8f4fa17d5188acf83cb5 (patch) | |
tree | bea0991f3c593a546a612f6588ceb0082df6d02c /src | |
parent | 9c31ffd893efd0310e1276d179150ba2e9c2c4aa (diff) | |
download | openttd-8c7f376ae174d4bf653a8f4fa17d5188acf83cb5.tar.xz |
(svn r26970) -Fix (r26969): non-sse animated blitter crashed occasionally
Diffstat (limited to 'src')
-rw-r--r-- | src/blitter/32bpp_anim.cpp | 4 |
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; |