Conditions/DisableMgr: converted from singleton to namespace with free functions.

This commit is contained in:
Spp-
2011-09-09 14:27:23 +02:00
parent c4c9165428
commit 45af1238cf
13 changed files with 54 additions and 66 deletions
+2 -2
View File
@@ -1337,7 +1337,7 @@ void World::SetInitialWorldSettings()
LoadRandomEnchantmentsTable();
sLog->outString("Loading Disables");
sDisableMgr->LoadDisables(); // must be before loading quests and items
DisableMgr::LoadDisables(); // must be before loading quests and items
sLog->outString("Loading Items..."); // must be after LoadRandomEnchantmentsTable and LoadPageTexts
sObjectMgr->LoadItemTemplates();
@@ -1403,7 +1403,7 @@ void World::SetInitialWorldSettings()
sObjectMgr->LoadQuests(); // must be loaded after DBCs, creature_template, item_template, gameobject tables
sLog->outString("Checking Quest Disables");
sDisableMgr->CheckQuestDisables(); // must be after loading quests
DisableMgr::CheckQuestDisables(); // must be after loading quests
sLog->outString("Loading Quest POI");
sObjectMgr->LoadQuestPOI();