mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-18 17:20:09 +00:00
Sample_TileMesh::buildTileMesh() was returning false instead of 0.
This commit is contained in:
@@ -1115,7 +1115,7 @@ unsigned char* Sample_TileMesh::buildTileMesh(const int tx, const int ty, const
|
||||
{
|
||||
// The vertex indices are ushorts, and cannot point to more than 0xffff vertices.
|
||||
m_ctx->log(RC_LOG_ERROR, "Too many vertices per tile %d (max: %d).", m_pmesh->nverts, 0xffff);
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Update poly flags from areas.
|
||||
|
||||
Reference in New Issue
Block a user