forked from bit/DotRecastNetSim
added DtCrowdConst.MAX_PATH_RESULT = 256
This commit is contained in:
parent
5b6fddcedc
commit
7836b78bb4
|
@ -168,7 +168,7 @@ namespace DotRecast.Detour.Crowd
|
|||
}
|
||||
|
||||
// Allocate temp buffer for merging paths.
|
||||
_maxPathResult = 256;
|
||||
_maxPathResult = DtCrowdConst.MAX_PATH_RESULT;
|
||||
_pathQ = new DtPathQueue(config);
|
||||
_agents = new List<DtCrowdAgent>();
|
||||
|
||||
|
|
|
@ -30,5 +30,6 @@
|
|||
public const int MAX_ITERS_PER_UPDATE = 100;
|
||||
public const int MAX_PATHQUEUE_NODES = 4096;
|
||||
public const int MAX_COMMON_NODES = 512;
|
||||
public const int MAX_PATH_RESULT = 256;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue