From 58e297da1084599fd0b1db9d51b41f45759ee12d Mon Sep 17 00:00:00 2001 From: Aokromes Date: Tue, 25 Sep 2018 12:41:37 +0200 Subject: Core/Mmaps: Revert a bad change Closes #22470 by xvwyh this doesn't needs to re-extract mmaps. --- dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp') diff --git a/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp b/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp index fcac11f0729..dafb7d2818e 100644 --- a/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp +++ b/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp @@ -100,8 +100,7 @@ inline float dtQueryFilter::getCost(const float* pa, const float* pb, } #endif -static const float H_SCALE = 2.0f; // Search heuristic scale. - +static const float H_SCALE = 0.999f; // Search heuristic scale. dtNavMeshQuery* dtAllocNavMeshQuery() { -- cgit v1.2.3