Core/ObjectMgr: Load npc spellclick data after quests.

This commit is contained in:
Machiavelli
2011-03-06 16:28:31 +01:00
parent 10c02690b6
commit 0f91728fdd
+6 -6
View File
@@ -1363,12 +1363,6 @@ void World::SetInitialWorldSettings()
sLog->outString("Loading Creature Template Addon Data...");
sObjectMgr->LoadCreatureAddons(); // must be after LoadCreatureTemplates() and LoadCreatures()
sLog->outString("Loading UNIT_NPC_FLAG_SPELLCLICK Data...");
sObjectMgr->LoadNPCSpellClickSpells();
sLog->outString("Loading Vehicle Accessories...");
sObjectMgr->LoadVehicleAccessories(); // must be after LoadCreatureTemplates() and LoadNPCSpellClickSpells()
sLog->outString("Loading Creature Respawn Data..."); // must be after PackInstances()
sObjectMgr->LoadCreatureRespawnTimes();
@@ -1405,6 +1399,12 @@ void World::SetInitialWorldSettings()
sLog->outString("Loading Game Event Data..."); // must be after loading pools fully
sGameEventMgr->LoadFromDB(); // TODOLEAK: add scopes
sLog->outString("Loading UNIT_NPC_FLAG_SPELLCLICK Data...");
sObjectMgr->LoadNPCSpellClickSpells();
sLog->outString("Loading Vehicle Accessories...");
sObjectMgr->LoadVehicleAccessories(); // must be after LoadCreatureTemplates() and LoadNPCSpellClickSpells()
sLog->outString("Loading Dungeon boss data...");
sObjectMgr->LoadInstanceEncounters();