1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-03 21:45:33 +00:00

Merge pull request #2801 from elsid/update_recastnavigation

Update recastnavigation to 57610fa6ef31b39020231906f8c5d40eaa8294ae
This commit is contained in:
Alexei Dobrohotov 2020-04-24 22:50:04 +03:00 committed by GitHub
commit cf812d4a0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
c40188c796f089f89a42e0b939d934178dbcfc5c
57610fa6ef31b39020231906f8c5d40eaa8294ae

View file

@ -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);