[Scummvm-cvs-logs] CVS: scummvm/scumm script_v7he.cpp,2.80,2.81

Travis Howell kirben at users.sourceforge.net
Mon Sep 13 19:57:03 CEST 2004


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

Modified Files:
	script_v7he.cpp 
Log Message:

Set numVerts when storing polygons


Index: script_v7he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v7he.cpp,v
retrieving revision 2.80
retrieving revision 2.81
diff -u -d -r2.80 -r2.81
--- script_v7he.cpp	14 Sep 2004 01:12:16 -0000	2.80
+++ script_v7he.cpp	14 Sep 2004 02:56:36 -0000	2.81
@@ -1059,6 +1059,7 @@
 	_WizPolygons[i].vert[3].y = vert4y;
 	_WizPolygons[i].vert[4].x = vert1x;
 	_WizPolygons[i].vert[4].y = vert1y;
+	_WizPolygons[i].numVerts = 5;
 	_WizPolygons[i].id = id;
 	_WizPolygons[i].flag = flag;
 
@@ -1083,8 +1084,6 @@
 }
 
 void ScummEngine_v7he::o7_polygonHit() {
-	// Checks virtual mouse x/y co-ordinates when in verb/inventory area
-	// Maybe checks for polygons ?
 	int y = pop();
 	int x = pop();
 





More information about the Scummvm-git-logs mailing list