Core/PathFinding: Enable pathfinding (MMaps) by default

(cherry picked from commit 5498f3be96)
This commit is contained in:
jackpoz
2020-09-06 21:34:19 +02:00
committed by Shauren
parent d76533d8f3
commit 2942d06664
2 changed files with 4 additions and 4 deletions

View File

@@ -1494,7 +1494,7 @@ void World::LoadConfigSettings(bool reload)
TC_LOG_INFO("server.loading", "Using DataDir %s", m_dataPath.c_str());
}
m_bool_configs[CONFIG_ENABLE_MMAPS] = sConfigMgr->GetBoolDefault("mmap.enablePathFinding", false);
m_bool_configs[CONFIG_ENABLE_MMAPS] = sConfigMgr->GetBoolDefault("mmap.enablePathFinding", true);
TC_LOG_INFO("server.loading", "WORLD: MMap data directory is: %smmaps", m_dataPath.c_str());
m_bool_configs[CONFIG_VMAP_INDOOR_CHECK] = sConfigMgr->GetBoolDefault("vmap.enableIndoorCheck", false);

View File

@@ -408,10 +408,10 @@ DisconnectToleranceInterval = 0
#
# mmap.enablePathFinding
# Description: Enable/Disable pathfinding using mmaps - recommended.
# Default: 0 - (Disabled)
# 1 - (Enabled)
# Default: 1 - (Enabled)
# 0 - (Disabled)
mmap.enablePathFinding = 0
mmap.enablePathFinding = 1
#
# vmap.enableLOS