returned MAX_ITER of optimizePathTopology to 32 after I removed the multi-nodes per tile

This commit is contained in:
axelrodR 2014-06-27 23:23:29 +03:00
parent 5d480636d1
commit 1c7bd46812

View File

@ -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];