Raised the number of search iterations during optimizePathTopology() to 48.

This commit is contained in:
axelrodR 2014-06-25 22:40:01 +03:00
parent 2172c712b1
commit 0476bafd08

View File

@ -359,7 +359,7 @@ bool dtPathCorridor::optimizePathTopology(dtNavMeshQuery* navquery, const dtQuer
if (m_npath < 3)
return false;
static const int MAX_ITER = 32;
static const int MAX_ITER = 48;
static const int MAX_RES = 32;
dtPolyRef res[MAX_RES];