]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/tjunction.c
Merge commit '37bef590b1d2161b16b2bd33349fc8b56af60920' into master-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / tjunction.c
index c6924dbe63f384880c354cb4901fd345ebac0938..fe180508ee3ee8ab3df9df58d04eb64b0875656b 100644 (file)
@@ -335,6 +335,8 @@ void FixSurfaceJunctions( mapDrawSurface_t *ds ) {
        float start, end, frac, c;
        vec3_t delta;
 
+       // zero the verts array, verts are tested to not be null in FindMetaVertex()
+       memset( verts, 0, sizeof( verts ) );
 
        numVerts = 0;
        for ( i = 0 ; i < ds->numVerts ; i++ )