Raised the number of search iterations during optimizePathTopology() to 48.
This commit is contained in:
parent
2172c712b1
commit
0476bafd08
@ -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 = 32;
|
static const int MAX_ITER = 48;
|
||||||
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