mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Core/Mmaps: Allow disabling pathfinding for specific maps in the config
This commit is contained in:
@@ -1126,6 +1126,7 @@ void World::LoadConfigSettings(bool reload)
|
||||
|
||||
m_bool_configs[CONFIG_ENABLE_MMAPS] = ConfigMgr::GetBoolDefault("mmap.enablePathFinding", true);
|
||||
sLog->outString("WORLD: MMap data directory is: %smmaps", m_dataPath.c_str());
|
||||
MMap::MMapFactory::preventPathfindingOnMaps(ConfigMgr::GetStringDefault("mmap.ignoreMapIds", "").c_str());
|
||||
|
||||
m_bool_configs[CONFIG_VMAP_INDOOR_CHECK] = ConfigMgr::GetBoolDefault("vmap.enableIndoorCheck", 0);
|
||||
bool enableIndoor = ConfigMgr::GetBoolDefault("vmap.enableIndoorCheck", true);
|
||||
|
||||
Reference in New Issue
Block a user