]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/light_ydnar.c
add a missing VectorClear
[xonotic/netradiant.git] / tools / quake3 / q3map2 / light_ydnar.c
index 393548bcf5426677c7f9437fb56a26c6798c1474..d1a5ca75ae989fecd73101e00002705a3262eaff 100644 (file)
@@ -1912,6 +1912,7 @@ static void RandomSubsampleRawLuxel( rawLightmap_t *lm, trace_t *trace, vec3_t s
        float           dx, dy;
        
        VectorClear( total );
+       VectorClear( totaldirection );
        mapped = 0;
        for(b = 0; b < lightSamples; ++b)
        {