From: rpolzer Date: Mon, 4 Oct 2010 08:48:22 +0000 (+0200) Subject: add a missing VectorClear X-Git-Tag: xonotic-v0.5.0~201 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=5f1f257a1c3121b85ed8ca8361f5ffa02935c944;p=xonotic%2Fnetradiant.git add a missing VectorClear --- diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index 393548bc..d1a5ca75 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -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) {