diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index b2114f7c..40958614 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -4109,6 +4109,9 @@ float FloodLightForSample( trace_t *trace ){ /* set endpoint */ VectorMA( trace->origin, dd, direction, trace->end ); + if( lm->styles[lightmapNum] != LS_NORMAL && lm->styles[lightmapNum] != LS_NONE ) // isStyleLight + continue; + //VectorMA( trace->origin, 1, direction, trace->origin ); SetupTrace( trace );