diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-08-19 19:42:48 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-08-19 19:42:48 +0200 |
commit | c1586e0d995de5dd278b0acfe410acf66f6c2c6d (patch) | |
tree | 5c66718c37379eda84669c1990c8d2f8fc0835d3 /src/scripts/Commands/cs_misc.cpp | |
parent | f888e8c86b09d55587294921fbfeb58afb3d2282 (diff) |
changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs
Diffstat (limited to 'src/scripts/Commands/cs_misc.cpp')
-rw-r--r-- | src/scripts/Commands/cs_misc.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/scripts/Commands/cs_misc.cpp b/src/scripts/Commands/cs_misc.cpp index 6fadd18e76..715acec474 100644 --- a/src/scripts/Commands/cs_misc.cpp +++ b/src/scripts/Commands/cs_misc.cpp @@ -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(); |