Add null checks to all free calls to prevent crash on server close. (#709)

This commit is contained in:
Jett
2022-08-04 14:54:14 +01:00
committed by GitHub
parent e6c7f744b5
commit 88f316bf93
3 changed files with 12 additions and 11 deletions

View File

@@ -42,5 +42,5 @@ private:
std::vector<dpEntity*> m_StaticEntities;
std::vector<dpEntity*> m_DynamicEntites;
dNavMesh* m_NavMesh;
dNavMesh* m_NavMesh = nullptr;
};