Fix off by one
This commit is contained in:
parent
fd4b3a8e73
commit
1466eeefc0
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ sector_t* RenderViewpoint(FRenderViewpoint& mainvp, AActor* camera, IntRect* bou
|
|||
}
|
||||
|
||||
auto& list = RenderState.GetVisibleSurfaceList();
|
||||
if (list.Size() <= lm_background_updates)
|
||||
if (list.Size() < lm_background_updates)
|
||||
{
|
||||
int index = 0;
|
||||
for (auto& e : level.levelMesh->Surfaces)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue