[Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.243,1.244

Gregory Montoir cyx at users.sourceforge.net
Fri Jun 17 10:12:13 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22505/scumm

Modified Files:
	object.cpp 
Log Message:
update derefActor() argument

Index: object.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/object.cpp,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -d -r1.243 -r1.244
--- object.cpp	23 May 2005 02:00:47 -0000	1.243
+++ object.cpp	17 Jun 2005 17:11:30 -0000	1.244
@@ -1438,7 +1438,7 @@
 		if (getObjectOrActorXY(b, x, y) == -1)
 			return -1;
 		if (b < _numActors)
-			i = derefActor(b, "unkObjProc1")->_scalex;
+			i = derefActor(b, "getDistanceBetween_is_obj_1")->_scalex;
 	} else {
 		x = b;
 		y = c;
@@ -1448,7 +1448,7 @@
 		if (getObjectOrActorXY(e, x2, y2) == -1)
 			return -1;
 		if (e < _numActors)
-			j = derefActor(e, "unkObjProc1(2)")->_scalex;
+			j = derefActor(e, "getDistanceBetween_is_obj_2")->_scalex;
 	} else {
 		x2 = e;
 		y2 = f;





More information about the Scummvm-git-logs mailing list