Sample_TileMesh::buildTileMesh() was returning false instead of 0.
This commit is contained in:
parent
1076b27e0f
commit
751cf50af8
@ -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.
|
// 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);
|
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.
|
// Update poly flags from areas.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user