Fix boundary check

pull/593/head
elsid 4 years ago
parent 9363bc2d48
commit 9b11b8a27b
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -51,7 +51,7 @@ namespace DetourNavigator
const auto inum = imax - imin;
const auto icur = curNode;
if (curNode > nodes.size())
if (curNode >= nodes.size())
return;
ChunkyTriMeshNode& node = nodes[curNode++];

Loading…
Cancel
Save