mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: use the constants
This commit is contained in:
parent
55c98902f3
commit
c12690b33c
@ -147,7 +147,7 @@ static void drawTraverseLinks(duDebugDraw* dd, const dtNavMesh& mesh, const dtNa
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Iterate through links in the poly.
|
// Iterate through links in the poly.
|
||||||
for (int j = startPoly->firstLink; j != -1; j = tile->links[j].next)
|
for (int j = startPoly->firstLink; j != DT_NULL_LINK; j = tile->links[j].next)
|
||||||
{
|
{
|
||||||
const dtLink* link = &tile->links[j];
|
const dtLink* link = &tile->links[j];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user