mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: fix comment location
This commit is contained in:
parent
b39214e517
commit
ab88364779
@ -2268,10 +2268,10 @@ dtStatus dtNavMeshQuery::getPortalPoints(dtPolyRef from, const dtPoly* fromPoly,
|
||||
dtPolyRef to, const dtPoly* toPoly, const dtMeshTile* toTile,
|
||||
const dtLink* inLink, float* left, float* right) const
|
||||
{
|
||||
// Find the link that points to the 'to' polygon.
|
||||
const dtLink* link = inLink;
|
||||
if (!link)
|
||||
{
|
||||
// Find the link that points to the 'to' polygon.
|
||||
for (unsigned int i = fromPoly->firstLink; i != DT_NULL_LINK; i = fromTile->links[i].next)
|
||||
{
|
||||
if (fromTile->links[i].ref == to)
|
||||
|
Loading…
x
Reference in New Issue
Block a user