aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-02-26 21:06:39 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-22 13:03:21 +0100
commit2f30a9986c9408535461c004b5255e7f76078d4b (patch)
treec2de0be86a74dea31306b5d42cde9b6589ed4118
parent414edbc5f675af0941a6c1c2a9146e6e5296ca30 (diff)
Tools/MMaps: Fix strange paths in Blackfathom Deeps
Increase the agent height by x2 to reduce the chance of having underground mmap layers wrongly picked by recast. (cherry picked from commit 3b0a89a2ea76157156c03262bc86f024a1d4ca57)
-rw-r--r--src/tools/mmaps_generator/MapBuilder.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/mmaps_generator/MapBuilder.cpp b/src/tools/mmaps_generator/MapBuilder.cpp
index bccd0291115..f75d571046c 100644
--- a/src/tools/mmaps_generator/MapBuilder.cpp
+++ b/src/tools/mmaps_generator/MapBuilder.cpp
@@ -997,8 +997,14 @@ namespace MMAP
{
// Blade's Edge Arena
case 562:
+ // This allows to walk on the ropes to the pillars
config.walkableRadius = 0;
break;
+ // Blackfathom Deeps
+ case 48:
+ // Reduce the chance to have underground levels
+ config.ch *= 2;
+ break;
default:
break;
}