Merge pull request #655 from illwieckz/fixmistake

Revert "q3map2	* fix: do not affect styled lightmaps by floodlight", fix #654
This commit is contained in:
Timothee "TTimo" Besset 2020-07-11 15:46:46 -06:00 committed by GitHub
commit dd346f8fe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 );