mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-03 18:45:32 +00:00
Merge pull request #2801 from elsid/update_recastnavigation
Update recastnavigation to 57610fa6ef31b39020231906f8c5d40eaa8294ae
This commit is contained in:
commit
cf812d4a0d
2 changed files with 2 additions and 2 deletions
2
extern/recastnavigation/.id
vendored
2
extern/recastnavigation/.id
vendored
|
@ -1 +1 @@
|
|||
c40188c796f089f89a42e0b939d934178dbcfc5c
|
||||
57610fa6ef31b39020231906f8c5d40eaa8294ae
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue