mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/PathFinding: Enable pathfinding (MMaps) by default
(cherry picked from commit 5498f3be96)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user