[Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.50,1.51

James Brown ender at users.sourceforge.net
Wed Apr 17 17:57:09 CEST 2002


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

Modified Files:
	actor.cpp 
Log Message:
Remove box==0 mask forcing. Yaz - this isn't right.. it breaks all the other games, and I don't think something like this would be a game specific hack.



Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/actor.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** actor.cpp	17 Apr 2002 21:44:19 -0000	1.50
--- actor.cpp	18 Apr 2002 00:56:30 -0000	1.51
***************
*** 252,260 ****
  void Scumm::setActorBox(Actor * a, int box)
  {
! 	a->walkbox = box;
! 	if(box == 0)
! 		a->mask = 1;
! 	else
! 		a->mask = getMaskFromBox(box);
  	setupActorScale(a);
  }
--- 252,258 ----
  void Scumm::setActorBox(Actor * a, int box)
  {
! 	a->walkbox = box;
! 	a->mask = getMaskFromBox(box);
! 
  	setupActorScale(a);
  }





More information about the Scummvm-git-logs mailing list