spelling mistakes
This commit is contained in:
parent
232187b9d6
commit
a7f1d5e6a4
@ -25,7 +25,7 @@ enum dtNodeFlags
|
|||||||
{
|
{
|
||||||
DT_NODE_OPEN = 0x01,
|
DT_NODE_OPEN = 0x01,
|
||||||
DT_NODE_CLOSED = 0x02,
|
DT_NODE_CLOSED = 0x02,
|
||||||
DT_NODE_PARENT_DETACHED = 0x04, // parent of the node is not connected/adjacent. Found using raycast.
|
DT_NODE_PARENT_DETACHED = 0x04, // parent of the node is nmnot connected/adjacent. Found using raycast.
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef unsigned short dtNodeIndex;
|
typedef unsigned short dtNodeIndex;
|
||||||
|
@ -689,7 +689,7 @@ void dtCrowd::updateMoveRequest(const float /*dt*/)
|
|||||||
dtPolyRef reqPath[MAX_RES]; // The path to the request location
|
dtPolyRef reqPath[MAX_RES]; // The path to the request location
|
||||||
int reqPathCount = 0;
|
int reqPathCount = 0;
|
||||||
|
|
||||||
// Quick seach towards the goal.
|
// Quick search towards the goal.
|
||||||
static const int MAX_ITER = 20;
|
static const int MAX_ITER = 20;
|
||||||
m_navquery->initSlicedFindPath(path[0], ag->targetRef, ag->npos, ag->targetPos, &m_filter);
|
m_navquery->initSlicedFindPath(path[0], ag->targetRef, ag->npos, ag->targetPos, &m_filter);
|
||||||
m_navquery->updateSlicedFindPath(MAX_ITER, 0);
|
m_navquery->updateSlicedFindPath(MAX_ITER, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user