svn-id: r15565
This commit is contained in:
Travis Howell 2004-10-16 05:27:42 +00:00
parent d42f98d0c4
commit 4174c4b0ba

View File

@ -1060,7 +1060,7 @@ bool ScummEngine_v70he::polygonDefined(int id) {
}
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;