diff --git a/src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp b/src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp index 573cd0c1..ab69e01c 100644 --- a/src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp +++ b/src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp @@ -280,9 +280,7 @@ bool dtCreateDisjointPolyGroups(const dtTraverseTableCreateParams* params) { dtPoly& poly = tile->polys[j]; - if (poly.groupId != DT_UNLINKED_POLY_GROUP) - poly.groupId = DT_NULL_POLY_GROUP; - + poly.groupId = DT_NULL_POLY_GROUP; #if DT_NAVMESH_SET_VERSION >= 7 // NOTE: these fields are unknown and need to be reversed. // It is possible these are used internally only.