aboutsummaryrefslogtreecommitdiff
path: root/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp
diff options
context:
space:
mode:
authorTraesh <Traesh@users.noreply.github.com>2018-09-25 16:18:47 +0200
committerAokromes <Aokromes@users.noreply.github.com>2018-09-25 16:18:47 +0200
commit2704e3c6f8aba47ed3d753ef06aa3c5b9c196a57 (patch)
treeed83fdfe2c01e53a8f2279627b583562e151f8a0 /dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp
parentd949028d1dd3f21c8522d968351162ed4338e0b4 (diff)
Update DetourNavMeshQuery.cpp (#22518)
Diffstat (limited to 'dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp')
-rw-r--r--dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp b/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp
index a263106dc1c..2f781fb92a2 100644
--- a/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp
+++ b/dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp
@@ -100,7 +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()