mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 07:07:45 +00:00
cleanup navmesh and navquery
This commit is contained in:
parent
6ae66c1edb
commit
68f9e7eae0
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@ TiledNavmeshGenerator::~TiledNavmeshGenerator()
|
|||
{
|
||||
delete m_mesh;
|
||||
delete m_chunkyMesh;
|
||||
|
||||
delete m_ctx;
|
||||
|
||||
dtFreeNavMesh( m_navMesh );
|
||||
dtFreeNavMeshQuery( m_navQuery );
|
||||
}
|
||||
|
||||
void TiledNavmeshGenerator::saveNavmesh( const std::string& name )
|
||||
|
|
Loading…
Add table
Reference in a new issue