Skip to content

Commit

Permalink
Merge pull request #2801 from elsid/update_recastnavigation
Browse files Browse the repository at this point in the history
Update recastnavigation to 57610fa6ef31b39020231906f8c5d40eaa8294ae
  • Loading branch information
Capostrophic authored Apr 24, 2020
2 parents 3b9a51b + 847cd41 commit cf812d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extern/recastnavigation/.id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c40188c796f089f89a42e0b939d934178dbcfc5c
57610fa6ef31b39020231906f8c5d40eaa8294ae
2 changes: 1 addition & 1 deletion extern/recastnavigation/Recast/Source/RecastContour.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ bool rcBuildContours(rcContext* ctx, rcCompactHeightfield& chf,
if (cset.nconts > 0)
{
// Calculate winding of all polygons.
rcScopedDelete<char> winding((char*)rcAlloc(sizeof(char)*cset.nconts, RC_ALLOC_TEMP));
rcScopedDelete<signed char> winding((signed char*)rcAlloc(sizeof(signed char)*cset.nconts, RC_ALLOC_TEMP));
if (!winding)
{
ctx->log(RC_LOG_ERROR, "rcBuildContours: Out of memory 'hole' (%d).", cset.nconts);
Expand Down

0 comments on commit cf812d4

Please sign in to comment.