mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-21 10:20:46 +00:00
Fix off by one
This commit is contained in:
parent
995de6f71d
commit
8f202a7e96
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…
Reference in a new issue