fix a typo on tjunction.c that makes surface "fixing" ineffective (any surface that has, at one point, two equal vertices gets removed entirely, fixing is performed but the fixed surface is never used)

git-svn-id: svn://svn.icculus.org/netradiant/trunk@199 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent 2009-02-25 15:41:21 +00:00
parent 6a04feabc5
commit 05ec869106

View File

@ -544,7 +544,7 @@ qboolean FixBrokenSurface( mapDrawSurface_t *ds )
dist = VectorLength( avg.xyz ); dist = VectorLength( avg.xyz );
if( dist < DEGENERATE_EPSILON ) if( dist < DEGENERATE_EPSILON )
{ {
valid = qfalse; //valid = qfalse; // no, valid = qfalse is only done if less than 3 verts are left
Sys_FPrintf( SYS_VRB, "WARNING: Degenerate T-junction edge found, fixing...\n" ); Sys_FPrintf( SYS_VRB, "WARNING: Degenerate T-junction edge found, fixing...\n" );
/* create an average drawvert */ /* create an average drawvert */