- changed dynamic light traversal to use sections instead of the subsectors.
This is mostly complete, except for handling intra-section sidedefs.
This commit is contained in:
parent
9ddca3c3a9
commit
ba66c0c889
20 changed files with 117 additions and 123 deletions
|
|
@ -275,7 +275,7 @@ void RenderPolyPlane::SetDynLights(PolyRenderThread *thread, PolyDrawArgs &args,
|
|||
return;
|
||||
}
|
||||
|
||||
FLightNode *light_list = sub->sector->lighthead;
|
||||
FLightNode *light_list = sub->section->lighthead;
|
||||
|
||||
auto cameraLight = PolyCameraLight::Instance();
|
||||
if ((cameraLight->FixedLightLevel() >= 0) || (cameraLight->FixedColormap() != nullptr))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue