returned MAX_ITER of optimizePathTopology to 32 after I removed the multi-nodes per tile
This commit is contained in:
parent
5d480636d1
commit
1c7bd46812
@ -359,7 +359,7 @@ bool dtPathCorridor::optimizePathTopology(dtNavMeshQuery* navquery, const dtQuer
|
|||||||
if (m_npath < 3)
|
if (m_npath < 3)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
static const int MAX_ITER = 48;
|
static const int MAX_ITER = 32;
|
||||||
static const int MAX_RES = 32;
|
static const int MAX_RES = 32;
|
||||||
|
|
||||||
dtPolyRef res[MAX_RES];
|
dtPolyRef res[MAX_RES];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user