From dbd5baf7c92bba1c111824bcd39d39b4c478859b Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 29 Aug 2018 14:43:19 -0400 Subject: [PATCH] Core/MMaps: This should fix the mmaps pathing. Needs more testing tho --- Source/Framework/RecastDetour/Detour/DetourNavMesh.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Framework/RecastDetour/Detour/DetourNavMesh.cs b/Source/Framework/RecastDetour/Detour/DetourNavMesh.cs index abfe1144a..8524b4ffc 100644 --- a/Source/Framework/RecastDetour/Detour/DetourNavMesh.cs +++ b/Source/Framework/RecastDetour/Detour/DetourNavMesh.cs @@ -115,7 +115,7 @@ public static partial class Detour } else if (side == 2 || side == 6) { - if (va[vaStart + 0] < vb[0]) + if (va[vaStart] < vb[vbStart]) { bmin[0] = va[vaStart + 0]; bmin[1] = va[vaStart + 1];