[Scummvm-cvs-logs] CVS: scummvm object.cpp,1.25,1.26

James Brown ender at users.sourceforge.net
Fri Feb 15 13:22:14 CET 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv2731

Modified Files:
	object.cpp 
Log Message:
Zak256 object image fix!



Index: object.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/object.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** object.cpp	13 Feb 2002 20:16:01 -0000	1.25
--- object.cpp	15 Feb 2002 21:17:42 -0000	1.26
***************
*** 304,308 ****
  	ypos = od->y_pos;
  	width = od->width>>3;
! 	height = od->height;
  
  	if (width==0 || xpos > _screenEndStrip || xpos + width < _screenStartStrip)
--- 304,308 ----
  	ypos = od->y_pos;
  	width = od->width>>3;
! 	height = od->height &= 0xF8; // Ender
  
  	if (width==0 || xpos > _screenEndStrip || xpos + width < _screenStartStrip)
***************
*** 317,322 ****
  	}
  
!         if(_features & GF_SMALL_HEADER) 
!                 ptr +=8;
          else
                  ptr = findResource(IMxx_tags[getState(od->obj_nr)], ptr);
--- 317,322 ----
  	}
  
! 	if(_features & GF_SMALL_HEADER)
!                 ptr +=8;					
          else
                  ptr = findResource(IMxx_tags[getState(od->obj_nr)], ptr);





More information about the Scummvm-git-logs mailing list