mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 08:46:09 +00:00
feat(Core/Load): Add debug logs for zone and area assignment (#22509)
This commit is contained in:
@@ -2257,6 +2257,9 @@ void ObjectMgr::LoadCreatures()
|
||||
return;
|
||||
}
|
||||
|
||||
if (sWorld->getBoolConfig(CONFIG_CALCULATE_CREATURE_ZONE_AREA_DATA))
|
||||
LOG_INFO("server.loading", "Calculating zone and area fields. This may take a moment...");
|
||||
|
||||
// Build single time for check spawnmask
|
||||
std::map<uint32, uint32> spawnMasks;
|
||||
for (uint32 i = 0; i < sMapStore.GetNumRows(); ++i)
|
||||
@@ -2621,6 +2624,9 @@ void ObjectMgr::LoadGameobjects()
|
||||
return;
|
||||
}
|
||||
|
||||
if (sWorld->getBoolConfig(CONFIG_CALCULATE_GAMEOBJECT_ZONE_AREA_DATA))
|
||||
LOG_INFO("server.loading", "Calculating zone and area fields. This may take a moment...");
|
||||
|
||||
// build single time for check spawnmask
|
||||
std::map<uint32, uint32> spawnMasks;
|
||||
for (uint32 i = 0; i < sMapStore.GetNumRows(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user