]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fix a typo on tjunction.c that makes surface "fixing" ineffective (any surface that...
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 25 Feb 2009 15:41:21 +0000 (15:41 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 25 Feb 2009 15:41:21 +0000 (15:41 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@199 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/q3map2/tjunction.c

index 4a590b7f5440c9a08c58857506a7d5211822a475..96210d4d2b1ad75243627b15ad14d115fd54fc54 100644 (file)
@@ -544,7 +544,7 @@ qboolean FixBrokenSurface( mapDrawSurface_t *ds )
                dist = VectorLength( avg.xyz );
                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" );
 
                        /* create an average drawvert */