mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-17 05:29:43 -04:00
Dungeon Finder: Fix teleport coords load
This commit is contained in:
@@ -318,6 +318,9 @@ void LFGMgr::LoadLFGDungeons(bool reload /* = false */)
|
||||
for (LFGDungeonMap::iterator itr = m_LfgDungeonMap.begin(); itr != m_LfgDungeonMap.end(); ++itr)
|
||||
{
|
||||
LFGDungeonData& dungeon = itr->second;
|
||||
if (dungeon.type == LFG_TYPE_RANDOM)
|
||||
continue;
|
||||
|
||||
// No teleport coords in database, load from areatriggers
|
||||
if (dungeon.x == 0.0f && dungeon.y == 0.0f && dungeon.z == 0.0f)
|
||||
{
|
||||
|
||||
@@ -1461,16 +1461,6 @@ void World::SetInitialWorldSettings()
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading Vehicle Accessories...");
|
||||
sObjectMgr->LoadVehicleAccessories(); // must be after LoadCreatureTemplates() and LoadNPCSpellClickSpells()
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading LFG entrance positions...");
|
||||
sLFGMgr->LoadLFGDungeons();
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading Dungeon boss data...");
|
||||
sObjectMgr->LoadInstanceEncounters();
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading LFG rewards...");
|
||||
sLFGMgr->LoadRewards();
|
||||
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading SpellArea Data..."); // must be after quest load
|
||||
sSpellMgr->LoadSpellAreas();
|
||||
|
||||
@@ -1489,6 +1479,15 @@ void World::SetInitialWorldSettings()
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading AreaTrigger script names...");
|
||||
sObjectMgr->LoadAreaTriggerScripts();
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading LFG entrance positions..."); // Must be after areatriggers
|
||||
sLFGMgr->LoadLFGDungeons();
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading Dungeon boss data...");
|
||||
sObjectMgr->LoadInstanceEncounters();
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading LFG rewards...");
|
||||
sLFGMgr->LoadRewards();
|
||||
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, "Loading Graveyard-zone links...");
|
||||
sObjectMgr->LoadGraveyardZones();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user