From 5f1f257a1c3121b85ed8ca8361f5ffa02935c944 Mon Sep 17 00:00:00 2001 From: rpolzer Date: Mon, 4 Oct 2010 10:48:22 +0200 Subject: [PATCH] add a missing VectorClear --- tools/quake3/q3map2/light_ydnar.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.39.2