changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs

This commit is contained in:
Yehonal
2017-08-19 19:42:48 +02:00
parent f888e8c86b
commit c1586e0d99
109 changed files with 3620 additions and 1228 deletions

View File

@@ -1510,7 +1510,9 @@ public:
if (!playerTarget)
playerTarget = player;
;//sLog->outDetail(handler->GetTrinityString(LANG_ADDITEM), itemId, count);
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
sLog->outDetail(handler->GetTrinityString(LANG_ADDITEM), itemId, count);
#endif
ItemTemplate const* itemTemplate = sObjectMgr->GetItemTemplate(itemId);
if (!itemTemplate)
@@ -1597,7 +1599,9 @@ public:
if (!playerTarget)
playerTarget = player;
;//sLog->outDetail(handler->GetTrinityString(LANG_ADDITEMSET), itemSetId);
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
sLog->outDetail(handler->GetTrinityString(LANG_ADDITEMSET), itemSetId);
#endif
bool found = false;
ItemTemplateContainer const* its = sObjectMgr->GetItemTemplateStore();