[Scummvm-cvs-logs] CVS: scummvm/scumm script_v7he.cpp,2.109,2.110

Travis Howell kirben at users.sourceforge.net
Fri Oct 15 22:28:07 CEST 2004


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

Modified Files:
	script_v7he.cpp 
Log Message:

Ooops


Index: script_v7he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v7he.cpp,v
retrieving revision 2.109
retrieving revision 2.110
diff -u -d -r2.109 -r2.110
--- script_v7he.cpp	16 Oct 2004 05:10:14 -0000	2.109
+++ script_v7he.cpp	16 Oct 2004 05:27:42 -0000	2.110
@@ -1060,7 +1060,7 @@
 }
 
 bool ScummEngine_v70he::polygonContains(const WizPolygon &pol, int x, int y) {
-	int pi = pol.numVerts;
+	int pi = pol.numVerts - 1;
 	bool diry = (y < pol.vert[pi].y);
 	bool curdir;
 	bool r = false;





More information about the Scummvm-git-logs mailing list