mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Grievre passed a one line patch to me which according to his description:
"Fixes a bug in dynamic lights (lightstyles weren't being rendered correctly due to bad assumptions about dlightbits)" It compiles fine, and seems to work, so, here it is. Hikaru
This commit is contained in:
parent
d1904fe7c4
commit
b5b61d056f
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ R_AddToLightmapChain (msurface_t *fa)
|
|||
|
||||
if ((fa->dlightframe == r_framecount) || fa->cached_dlight) {
|
||||
dynamic:
|
||||
if (r_dynamic->int_val && fa->dlightbits) {
|
||||
if (r_dynamic->int_val) {
|
||||
lightmap_modified[fa->lightmaptexturenum] = true;
|
||||
theRect = &lightmap_rectchange[fa->lightmaptexturenum];
|
||||
if (fa->light_t < theRect->t) {
|
||||
|
|
Loading…
Reference in a new issue