Core/PathFinding: Enable pathfinding (MMaps) by default

This commit is contained in:
jackpoz authored and Ovahlord committed 2020-09-08 20:58:37 +02:00
1 parent 2159703022
commit 129614cbf8
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1431,7 +1431,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", 0);
+3 -3
View File
@@ -381,10 +381,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