Core/Mmaps: Allow disabling pathfinding for specific maps in the config

This commit is contained in:
Subv
2012-08-22 17:42:05 -05:00
parent 5061fa626a
commit 4273690478

View File

@@ -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);