[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.218,2.219

Travis Howell kirben at users.sourceforge.net
Sun Dec 14 02:55:04 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17464/scumm

Modified Files:
	script_v2.cpp 
Log Message:

Fix regressions.


Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.218
retrieving revision 2.219
diff -u -d -r2.218 -r2.219
--- script_v2.cpp	11 Dec 2003 06:08:43 -0000	2.218
+++ script_v2.cpp	13 Dec 2003 15:41:32 -0000	2.219
@@ -1079,7 +1079,7 @@
 	a = derefActor(getVarOrDirectByte(PARAM_1), "o2_walkActorTo");
 
 	x = getVarOrDirectByte(PARAM_2) * 8;
-	y = getVarOrDirectByte(PARAM_1) * 2;
+	y = getVarOrDirectByte(PARAM_3) * 2;
 
 	a->startWalkActor(x, y, -1);
 }
@@ -1092,7 +1092,7 @@
 	a = derefActor(act, "o2_putActor");
 
 	x = getVarOrDirectByte(PARAM_2) * 8;
-	y = getVarOrDirectByte(PARAM_1) * 2;
+	y = getVarOrDirectByte(PARAM_3) * 2;
 
 	a->putActor(x, y, a->room);
 }





More information about the Scummvm-git-logs mailing list