mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 03:51:18 +00:00
Merge pull request #652 from illwieckz/styledflood
q3map2: do not affect styled lightmaps by floodlight, fix #616
This commit is contained in:
commit
abeb2f1022
1 changed files with 3 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue