diff options
| author | Aokromes <aokromes@gmail.com> | 2018-09-25 12:41:37 +0200 |
|---|---|---|
| committer | Aokromes <aokromes@gmail.com> | 2018-09-25 12:41:37 +0200 |
| commit | 58e297da1084599fd0b1db9d51b41f45759ee12d (patch) | |
| tree | fc9a640b8612f17f7852d7acf897073256a235d9 /dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp | |
| parent | 7baf5b24525551ddf00c88084edb2a1bafeb758d (diff) | |
Core/Mmaps: Revert a bad change
Closes #22470 by xvwyh
this doesn't needs to re-extract mmaps.
Diffstat (limited to 'dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp')
| -rw-r--r-- | dep/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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() { |
