parent
a6e1172f97
commit
764d303543
30 changed files with 93 additions and 265 deletions
|
|
@ -101,10 +101,10 @@ namespace Server.PathAlgorithms.SlowAStar
|
|||
|
||||
path[pathCount++] = (Direction)curNode.dir;
|
||||
|
||||
if (pathCount == MaxNodes)
|
||||
{
|
||||
break;
|
||||
}
|
||||
// if (pathCount == MaxNodes)
|
||||
// {
|
||||
// break;
|
||||
// }
|
||||
|
||||
while (xBacktrack != startNode.x || yBacktrack != startNode.y || zBacktrack != startNode.z)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue