[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.198,2.199 script_v5.cpp,1.183,1.184

Max Horn fingolfin at users.sourceforge.net
Thu Sep 11 17:09:14 CEST 2003


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

Modified Files:
	script_v2.cpp script_v5.cpp 
Log Message:
my TODO was correct ;-) fixes regression in Zak

Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.198
retrieving revision 2.199
diff -u -d -r2.198 -r2.199
--- script_v2.cpp	11 Sep 2003 14:11:31 -0000	2.198
+++ script_v2.cpp	12 Sep 2003 00:07:42 -0000	2.199
@@ -1289,7 +1289,7 @@
 
 	getObjectXYPos(obj, x2, y2, dir);
 	a->putActor(x2, y2, _currentRoom);
-	a->setDirection(dir);	// TODO: Original seems to "flip" dir here, need to investigate?
+	a->setDirection(dir + 180);
 
 	camera._dest.x = camera._cur.x = a->x;
 	setCameraAt(a->x, a->y);

Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -d -r1.183 -r1.184
--- script_v5.cpp	11 Sep 2003 14:11:30 -0000	1.183
+++ script_v5.cpp	12 Sep 2003 00:07:42 -0000	1.184
@@ -1483,7 +1483,7 @@
 			getObjectXYPos(obj, x2, y2, dir);
 			a->putActor(x2, y2, _currentRoom);
 			if (a->getFacing() == oldDir)
-				a->setDirection(dir);	// TODO: Original seems to "flip" dir here, need to investigate?
+				a->setDirection(dir + 180);
 		}
 		a->moving = 0;
 	}





More information about the Scummvm-git-logs mailing list