- changed all model related references to level.
This commit is contained in:
parent
8652f140f2
commit
473892dede
7 changed files with 19 additions and 18 deletions
|
|
@ -122,7 +122,7 @@ void PolyModelRenderer::AddLights(AActor *actor)
|
|||
float z = (float)actor->Center();
|
||||
float radiusSquared = (float)(actor->renderradius * actor->renderradius);
|
||||
|
||||
BSPWalkCircle(x, y, radiusSquared, [&](subsector_t *subsector) // Iterate through all subsectors potentially touched by actor
|
||||
BSPWalkCircle(actor->Level, x, y, radiusSquared, [&](subsector_t *subsector) // Iterate through all subsectors potentially touched by actor
|
||||
{
|
||||
FLightNode * node = subsector->section->lighthead;
|
||||
while (node) // check all lights touching a subsector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue