Addons/AddonMgr: converted from singleton to namespace with free functions

This commit is contained in:
Spp-
2011-09-09 15:22:52 +02:00
parent 45af1238cf
commit 14b3ed9164
6 changed files with 38 additions and 53 deletions
+2 -2
View File
@@ -1337,7 +1337,7 @@ void World::SetInitialWorldSettings()
LoadRandomEnchantmentsTable();
sLog->outString("Loading Disables");
DisableMgr::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();
@@ -1586,7 +1586,7 @@ void World::SetInitialWorldSettings()
sTicketMgr->LoadSurveys();
sLog->outString("Loading client addons...");
sAddonMgr->LoadFromDB();
AddonMgr::LoadFromDB();
///- Handle outdated emails (delete/return)
sLog->outString("Returning old mails...");