Changeset - r9550:6041b660ac25
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-06-18 20:20:12
smatz@openttd.org
(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/blitter/32bpp_anim.cpp
Show inline comments
 
@@ -292,7 +292,6 @@ int Blitter_32bppAnim::BufferSize(int wi
 
void Blitter_32bppAnim::PaletteAnimate(uint start, uint count)
 
{
 
	assert(!_screen_disable_anim);
 
	assert(_screen.width == this->anim_buf_width && _screen.height == this->anim_buf_height);
 

	
 
	/* Never repaint the transparency pixel */
 
	if (start == 0) {
 
@@ -314,7 +313,7 @@ void Blitter_32bppAnim::PaletteAnimate(u
 
			dst++;
 
			anim++;
 
		}
 
		dst += _screen.pitch - _screen.width;
 
		dst += _screen.pitch - this->anim_buf_width;
 
	}
 

	
 
	/* Make sure the backend redraws the whole screen */
0 comments (0 inline, 0 general)