Instead of ignoring links to the parent, it is ignoring links to the
current node (which should never exist).
for (unsigned int i = bestPoly->firstLink; i !=
DT_NULL_LINK; i =
bestTile->links[i].next)
{
dtPolyRef neighbourRef = bestTile->links[i].ref;
// Skip invalid ids and do not expand back to where
we came from.
if (!neighbourRef || neighbourRef == bestRef)
continue;
Original issue reported on code.google.com by andi.chr...@gmx.net on 24 May 2010 at 12:18
Original issue reported on code.google.com by
andi.chr...@gmx.net
on 24 May 2010 at 12:18