1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-20 20:09:41 +00:00

Update recastnavigation to 57610fa6ef31b39020231906f8c5d40eaa8294ae

This commit is contained in:
elsid 2020-04-04 01:16:55 +02:00
parent 3b9a51b8ac
commit 847cd41b01
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
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);