]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
add a missing VectorClear
authorrpolzer <rpolzer@hagger.div0.qc.to>
Mon, 4 Oct 2010 08:48:22 +0000 (10:48 +0200)
committerrpolzer <rpolzer@hagger.div0.qc.to>
Mon, 4 Oct 2010 08:48:22 +0000 (10:48 +0200)
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)
        {