Update recastnavigation to 57610fa6ef31b39020231906f8c5d40eaa8294ae

pull/2801/head
elsid 5 years ago
parent 3b9a51b8ac
commit 847cd41b01
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -1 +1 @@
c40188c796f089f89a42e0b939d934178dbcfc5c 57610fa6ef31b39020231906f8c5d40eaa8294ae

@ -1009,7 +1009,7 @@ bool rcBuildContours(rcContext* ctx, rcCompactHeightfield& chf,
if (cset.nconts > 0) if (cset.nconts > 0)
{ {
// Calculate winding of all polygons. // 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) if (!winding)
{ {
ctx->log(RC_LOG_ERROR, "rcBuildContours: Out of memory 'hole' (%d).", cset.nconts); ctx->log(RC_LOG_ERROR, "rcBuildContours: Out of memory 'hole' (%d).", cset.nconts);

Loading…
Cancel
Save