mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user