- removed the subsector light lists as a preparation step to move over the light traversal code to use sections instead of subsectors.
This commit is contained in:
parent
375dd7e28f
commit
9ddca3c3a9
9 changed files with 12 additions and 58 deletions
|
|
@ -275,7 +275,7 @@ void RenderPolyPlane::SetDynLights(PolyRenderThread *thread, PolyDrawArgs &args,
|
|||
return;
|
||||
}
|
||||
|
||||
FLightNode *light_list = sub->lighthead;
|
||||
FLightNode *light_list = sub->sector->lighthead;
|
||||
|
||||
auto cameraLight = PolyCameraLight::Instance();
|
||||
if ((cameraLight->FixedLightLevel() >= 0) || (cameraLight->FixedColormap() != nullptr))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue