changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs
This commit is contained in:
parent
f888e8c86b
commit
c1586e0d99
109 changed files with 3620 additions and 1228 deletions
|
|
@ -409,7 +409,9 @@ void PoolGroup<Quest>::Spawn1Object(PoolObject* obj)
|
|||
PooledQuestRelationBoundsNC qr = sPoolMgr->mQuestCreatureRelation.equal_range(obj->guid);
|
||||
for (PooledQuestRelation::iterator itr = qr.first; itr != qr.second; ++itr)
|
||||
{
|
||||
;//sLog->outDebug(LOG_FILTER_POOLSYS, "PoolGroup<Quest>: Adding quest %u to creature %u", itr->first, itr->second);
|
||||
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
|
||||
sLog->outDebug(LOG_FILTER_POOLSYS, "PoolGroup<Quest>: Adding quest %u to creature %u", itr->first, itr->second);
|
||||
#endif
|
||||
questMap->insert(QuestRelations::value_type(itr->second, itr->first));
|
||||
}
|
||||
|
||||
|
|
@ -418,7 +420,9 @@ void PoolGroup<Quest>::Spawn1Object(PoolObject* obj)
|
|||
qr = sPoolMgr->mQuestGORelation.equal_range(obj->guid);
|
||||
for (PooledQuestRelation::iterator itr = qr.first; itr != qr.second; ++itr)
|
||||
{
|
||||
;//sLog->outDebug(LOG_FILTER_POOLSYS, "PoolGroup<Quest>: Adding quest %u to GO %u", itr->first, itr->second);
|
||||
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
|
||||
sLog->outDebug(LOG_FILTER_POOLSYS, "PoolGroup<Quest>: Adding quest %u to GO %u", itr->first, itr->second);
|
||||
#endif
|
||||
questMap->insert(QuestRelations::value_type(itr->second, itr->first));
|
||||
}
|
||||
}
|
||||
|
|
@ -426,7 +430,9 @@ void PoolGroup<Quest>::Spawn1Object(PoolObject* obj)
|
|||
template <>
|
||||
void PoolGroup<Quest>::SpawnObject(ActivePoolData& spawns, uint32 limit, uint32 triggerFrom)
|
||||
{
|
||||
;//sLog->outDebug(LOG_FILTER_POOLSYS, "PoolGroup<Quest>: Spawning pool %u", poolId);
|
||||
#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS
|
||||
sLog->outDebug(LOG_FILTER_POOLSYS, "PoolGroup<Quest>: Spawning pool %u", poolId);
|
||||
#endif
|
||||
// load state from db
|
||||
if (!triggerFrom)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue