- fix crash in nullptr access to DFrameBuffer object 'screen' if it is uninitialized

This commit is contained in:
Rachael Alexanderson 2020-06-14 15:33:26 -04:00
parent b441d8c399
commit 2c57d5e768

View file

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