Merge pull request #40 from axelrodR/master
Bug fix to the any angle path
This commit is contained in:
commit
42b96b7306
@ -2401,7 +2401,7 @@ dtStatus dtNavMeshQuery::raycast(dtPolyRef startRef, const float* startPos, cons
|
||||
nextTile = prevTile = tile;
|
||||
nextPoly = prevPoly = poly;
|
||||
if (prevRef)
|
||||
m_nav->getTileAndPolyByRefUnsafe(prevRef, &tile, &poly);
|
||||
m_nav->getTileAndPolyByRefUnsafe(prevRef, &prevTile, &prevPoly);
|
||||
|
||||
while (curRef)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user