Changeset - r6986:f09d57f6b2d7
[Not reviewed]
master
0 1 0
truelight - 17 years ago 2007-06-21 12:45:41
truelight@openttd.org
(svn r10242) -Fix: avoid a segfault if you move your mouse at startup with 32bpp-anim
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/blitter/32bpp_anim.cpp
Show inline comments
 
@@ -186,6 +186,8 @@ void Blitter_32bppAnim::CopyToBuffer(con
 
	uint32 *src = (uint32 *)video;
 
	uint8 *anim_line;
 

	
 
	if (this->anim_buf == NULL) return;
 

	
 
	anim_line = ((uint32 *)video - (uint32 *)_screen.dst_ptr) + this->anim_buf;
 

	
 
	for (; height > 0; height--) {
0 comments (0 inline, 0 general)