mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-28 12:17:46 +00:00
space
This commit is contained in:
parent
a8b6dc5ef7
commit
bce8f3d3db
1 changed files with 3 additions and 3 deletions
|
@ -318,7 +318,7 @@ unsigned char* TiledNavmeshGenerator::buildTileMesh( const int tx, const int ty,
|
|||
|
||||
if( !ncid )
|
||||
{
|
||||
rcFreeHeightField(m_solid);
|
||||
rcFreeHeightField( m_solid );
|
||||
m_solid = nullptr;
|
||||
delete[] m_triareas;
|
||||
m_triareas = nullptr;
|
||||
|
@ -458,8 +458,8 @@ unsigned char* TiledNavmeshGenerator::buildTileMesh( const int tx, const int ty,
|
|||
|
||||
if( m_cset->nconts == 0 )
|
||||
{
|
||||
rcFreeCompactHeightfield(m_chf);
|
||||
rcFreeContourSet(m_cset);
|
||||
rcFreeCompactHeightfield( m_chf );
|
||||
rcFreeContourSet( m_cset );
|
||||
m_chf = nullptr;
|
||||
m_cset = nullptr;
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Reference in a new issue