Unpatch r3909.

This commit is contained in:
gocha 2011-02-06 05:17:59 +00:00
parent 1fb85a8180
commit 9f31c63d7a
1 changed files with 1 additions and 6 deletions

View File

@ -2823,7 +2823,7 @@ bool gfx3d_IsLinePoly(POLY *poly)
for(int j = i + 1; j < type; j++) for(int j = i + 1; j < type; j++)
{ {
vert2 = &gfx3d.vertlist->list[poly->vertIndexes[j]]; vert2 = &gfx3d.vertlist->list[poly->vertIndexes[j]];
if (vert1->x == vert2->x && vert1->y == vert2->y && vert1->z == vert2->z) if (vert1->x == vert2->x && vert1->y == vert2->y)
{ {
duplicatedVert[j] = true; duplicatedVert[j] = true;
} }
@ -2854,11 +2854,6 @@ bool gfx3d_IsLinePoly(POLY *poly)
{ {
horizontalLine = false; horizontalLine = false;
} }
//the Z is different, and this method isn't even meant to catch that
if (vert1->coord[2] != vert2->coord[2])
return false;
} }
if (horizontalLine || verticalLine) if (horizontalLine || verticalLine)
return true; return true;