mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-12 05:27:04 +03:00
Merge branch 'update_recastnavigation' into 'master'
Update recastnavigation See merge request OpenMW/openmw!420
This commit is contained in:
commit
f95d2cf54c
9 changed files with 63 additions and 50 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue