Change order of loading for disable system

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-07-21 20:08:54 +02:00
parent 8ceda47e39
commit 5995a8ec1d
+3 -3
View File
@@ -1357,6 +1357,9 @@ void World::SetInitialWorldSettings()
sLog.outString("Loading Item Random Enchantments Table...");
LoadRandomEnchantmentsTable();
sLog.outString("Loading Disables");
sDisableMgr.LoadDisables(); // must be before loading quests and items
sLog.outString("Loading Items..."); // must be after LoadRandomEnchantmentsTable and LoadPageTexts
objmgr.LoadItemPrototypes();
@@ -1417,9 +1420,6 @@ void World::SetInitialWorldSettings()
sLog.outString("Loading Weather Data...");
objmgr.LoadWeatherZoneChances();
sLog.outString("Loading Disables");
sDisableMgr.LoadDisables(); // must be before loading quests
sLog.outString("Loading Quests...");
objmgr.LoadQuests(); // must be loaded after DBCs, creature_template, item_template, gameobject tables