mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
Another huge compilation fix
please delete cache and re-run cmake
This commit is contained in:
@@ -1510,7 +1510,7 @@ public:
|
||||
if (!playerTarget)
|
||||
playerTarget = player;
|
||||
|
||||
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDetail(handler->GetTrinityString(LANG_ADDITEM), itemId, count);
|
||||
#endif
|
||||
|
||||
@@ -1599,7 +1599,7 @@ public:
|
||||
if (!playerTarget)
|
||||
playerTarget = player;
|
||||
|
||||
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDetail(handler->GetTrinityString(LANG_ADDITEMSET), itemSetId);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -190,7 +190,7 @@ public:
|
||||
target->SetMaxPower(POWER_ENERGY, energym);
|
||||
target->SetPower(POWER_ENERGY, energy);
|
||||
|
||||
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDetail(handler->GetTrinityString(LANG_CURRENT_ENERGY), target->GetMaxPower(POWER_ENERGY));
|
||||
#endif
|
||||
|
||||
@@ -1018,8 +1018,8 @@ public:
|
||||
{
|
||||
int32 newmoney = int32(targetMoney) + moneyToAdd;
|
||||
|
||||
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
|
||||
sLog->outDebug(LOG_FILTER_GENERAL, handler->GetTrinityString(LANG_CURRENT_MONEY), targetMoney, moneyToAdd, newmoney);
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetTrinityString(LANG_CURRENT_MONEY), targetMoney, moneyToAdd, newmoney);
|
||||
#endif
|
||||
if (newmoney <= 0)
|
||||
{
|
||||
@@ -1055,8 +1055,8 @@ public:
|
||||
target->ModifyMoney(moneyToAdd);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
|
||||
sLog->outDebug(LOG_FILTER_GENERAL, handler->GetTrinityString(LANG_NEW_MONEY), targetMoney, moneyToAdd, target->GetMoney());
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_CHATSYS, handler->GetTrinityString(LANG_NEW_MONEY), targetMoney, moneyToAdd, target->GetMoney());
|
||||
#endif
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user