Core/Spells: Fix loading order and apply custom spell flags correctly

This commit is contained in:
Elron103
2012-03-24 13:34:19 +01:00
parent ac4536327f
commit 7eb473d0b8
+3 -3
View File
@@ -1283,6 +1283,9 @@ void World::SetInitialWorldSettings()
sLog->outString("Loading SpellInfo store..."); sLog->outString("Loading SpellInfo store...");
sSpellMgr->LoadSpellInfoStore(); sSpellMgr->LoadSpellInfoStore();
sLog->outString("Loading SkillLineAbilityMultiMap Data...");
sSpellMgr->LoadSkillLineAbilityMap();
sLog->outString("Loading spell custom attributes..."); sLog->outString("Loading spell custom attributes...");
sSpellMgr->LoadSpellCustomAttr(); sSpellMgr->LoadSpellCustomAttr();
@@ -1295,9 +1298,6 @@ void World::SetInitialWorldSettings()
sLog->outString("Loading Instance Template..."); sLog->outString("Loading Instance Template...");
sObjectMgr->LoadInstanceTemplate(); sObjectMgr->LoadInstanceTemplate();
sLog->outString("Loading SkillLineAbilityMultiMap Data...");
sSpellMgr->LoadSkillLineAbilityMap();
// Must be called before `creature_respawn`/`gameobject_respawn` tables // Must be called before `creature_respawn`/`gameobject_respawn` tables
sLog->outString("Loading instances..."); sLog->outString("Loading instances...");
sInstanceSaveMgr->LoadInstances(); sInstanceSaveMgr->LoadInstances();