mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: light cleanup in off-mesh connection renderer
This commit is contained in:
parent
81e058b1ca
commit
3b10774ca4
@ -216,9 +216,11 @@ static void drawMeshTile(duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMesh
|
||||
bool endSet = false;
|
||||
for (unsigned int k = p->firstLink; k != DT_NULL_LINK; k = tile->links[k].next)
|
||||
{
|
||||
if (tile->links[k].edge == 0)
|
||||
const dtLink& link = tile->links[k];
|
||||
|
||||
if (link.edge == 0)
|
||||
startSet = true;
|
||||
if (tile->links[k].edge == 1)
|
||||
if (link.edge == 1)
|
||||
endSet = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user