mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
Add null checks to all free calls to prevent crash on server close. (#709)
This commit is contained in:
@@ -42,5 +42,5 @@ private:
|
||||
std::vector<dpEntity*> m_StaticEntities;
|
||||
std::vector<dpEntity*> m_DynamicEntites;
|
||||
|
||||
dNavMesh* m_NavMesh;
|
||||
dNavMesh* m_NavMesh = nullptr;
|
||||
};
|
||||
|
Reference in New Issue
Block a user