From 0ea2cded9311c82febc5f07dd482f13f006bc337 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 28 Apr 2022 10:41:39 -0400 Subject: [PATCH] Core/PathFinding: Enable pathfinding (MMaps) by default Port From (https://github.com/TrinityCore/TrinityCore/commit/2942d066642fa9e1cf31fc249a69ecbeec0c5593) --- Source/Game/Server/WorldConfig.cs | 2 +- Source/WorldServer/WorldServer.conf.dist | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Game/Server/WorldConfig.cs b/Source/Game/Server/WorldConfig.cs index 444115839..317890988 100644 --- a/Source/Game/Server/WorldConfig.cs +++ b/Source/Game/Server/WorldConfig.cs @@ -860,7 +860,7 @@ namespace Game Values[WorldCfg.RespawnDynamicMinimumGameObject] = GetDefaultValue("Respawn.DynamicMinimumGameObject", 10); Values[WorldCfg.RespawnGuidWarningFrequency] = GetDefaultValue("Respawn.WarningFrequency", 1800); - Values[WorldCfg.EnableMmaps] = GetDefaultValue("mmap.EnablePathFinding", false); + Values[WorldCfg.EnableMmaps] = GetDefaultValue("mmap.EnablePathFinding", true); Values[WorldCfg.VmapIndoorCheck] = GetDefaultValue("vmap.EnableIndoorCheck", false); Values[WorldCfg.MaxWho] = GetDefaultValue("MaxWhoListReturns", 49); diff --git a/Source/WorldServer/WorldServer.conf.dist b/Source/WorldServer/WorldServer.conf.dist index 467fa3983..7fd2bde14 100644 --- a/Source/WorldServer/WorldServer.conf.dist +++ b/Source/WorldServer/WorldServer.conf.dist @@ -378,8 +378,8 @@ DisconnectToleranceInterval = 0 # # mmap.enablePathFinding # Description: Enable/Disable pathfinding using mmaps - recommended. -# Default: 0 - (Disabled) -# 1 - (Enabled) +# Default: 1 - (Enabled) +# 0 - (Disabled) mmap.EnablePathFinding = 1