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:
Timothy C. McGrath 2004-02-14 08:36:08 +00:00
parent d1904fe7c4
commit b5b61d056f

View file

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