- changed all model related references to level.

This commit is contained in:
Christoph Oelckers 2019-01-29 02:18:19 +01:00
commit 473892dede
7 changed files with 19 additions and 18 deletions

View file

@ -163,7 +163,7 @@ namespace swrenderer
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