- fixed bad range check in shadowmap code.

Since the last refactoring this only counts lights, not occupied entries in the array, but the check wasn't adjusted for that.
This commit is contained in:
Christoph Oelckers 2020-06-12 15:07:13 +02:00
commit 80b5a66635
2 changed files with 2 additions and 1 deletions

View file

@ -366,6 +366,7 @@ void FLevelLocals::ClearLevelData()
localEventManager->Shutdown();
if (aabbTree) delete aabbTree;
aabbTree = nullptr;
screen->SetAABBTree(nullptr);
}