mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-18 13:56:00 +00:00
Merge pull request #40 from axelrodR/master
Bug fix to the any angle path
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user