From 3aee572a96807d803bdaf4060feabbf334d4c10e Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Tue, 7 Jul 2020 10:01:04 +0200 Subject: [PATCH] Revert "q3map2 * fix: do not affect styled lightmaps by floodlight", fix #654 This reverts commit 090fbf3d0ddd3472615f249d7215421fc67b313b. The broken code is not there yet and therefore cannot be fixed yet. --- tools/quake3/q3map2/light_ydnar.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index 40958614..b2114f7c 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -4109,9 +4109,6 @@ 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 );