mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-14 14:28:30 +00:00
Fix for tile cache merge polys, fix for temp obstacle handleUpdate() (call base class).
This commit is contained in:
@@ -1370,7 +1370,7 @@ static void mergePolys(unsigned short* pa, unsigned short* pb, int ea, int eb)
|
||||
const int nb = countPolyVerts(pb);
|
||||
|
||||
// Merge polygons.
|
||||
memset(tmp, 0xff, sizeof(unsigned short)*MAX_VERTS_PER_POLY);
|
||||
memset(tmp, 0xff, sizeof(unsigned short)*MAX_VERTS_PER_POLY*2);
|
||||
int n = 0;
|
||||
// Add pa
|
||||
for (int i = 0; i < na-1; ++i)
|
||||
|
||||
Reference in New Issue
Block a user