aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-02-26 21:06:39 +0100
committerjackpoz <giacomopoz@gmail.com>2020-02-26 21:06:39 +0100
commit3b0a89a2ea76157156c03262bc86f024a1d4ca57 (patch)
tree0b94c99dae4af245b614b750c42aac39ec0fac26 /src
parent622e5fb31232b4963932d834a465c16217a8a6fe (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.
Diffstat (limited to 'src')
-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 6b10adb4abe..f8b4518e641 100644
--- a/src/tools/mmaps_generator/MapBuilder.cpp
+++ b/src/tools/mmaps_generator/MapBuilder.cpp
@@ -1026,8 +1026,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;
}