[Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.9,1.10

Max Horn fingolfin at users.sourceforge.net
Wed Nov 6 06:03:02 CET 2002


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

Modified Files:
	object.cpp 
Log Message:
removed some useless typecasts

Index: object.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/object.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- object.cpp	6 Nov 2002 07:28:39 -0000	1.9
+++ object.cpp	6 Nov 2002 14:02:07 -0000	1.10
@@ -1256,8 +1256,8 @@
 	_bompShadowMode = 0;
 
 	if ((bdd.scale_x != 255) || (bdd.scale_y != 255)) {
-		_bompScallingXPtr = (byte*)&bomp_scalling_x;
-		_bompScallingYPtr = (byte*)&bomp_scalling_y;
+		_bompScallingXPtr = bomp_scalling_x;
+		_bompScallingYPtr = bomp_scalling_y;
 		_bompScaleRight = setupBompScale(_bompScallingXPtr, bdd.srcwidth, bdd.scale_x);
 		_bompScaleBottom = setupBompScale(_bompScallingYPtr, bdd.srcheight, bdd.scale_y);
 		drawBomp(&bdd, 0, bdd.dataptr, 1, 3);





More information about the Scummvm-git-logs mailing list