Core/Quest: remove arbitrary error logs related to breadcrumb quest chaining.
There are complex cases where breadcrumb quests are mutually exclusive with other breadcrumbs leading to other quests, chaining them shouldn't generate log errors.
This commit is contained in:
1 parent
59120fbd38
commit
8e67cfe38e
1 file changed
-6
@@ -4970,8 +4970,6 @@ void ObjectMgr::LoadQuests()
|
||||
auto prevQuestItr = _questTemplates.find(prevQuestId);
|
||||
if (prevQuestItr == _questTemplates.end())
|
||||
TC_LOG_ERROR("sql.sql", "Quest %u has PrevQuestId %i, but no such quest", qinfo->GetQuestId(), qinfo->_prevQuestId);
|
||||
else if (prevQuestItr->second._breadcrumbForQuestId)
|
||||
TC_LOG_ERROR("sql.sql", "Quest %u should not be unlocked by breadcrumb quest %u", qinfo->_id, prevQuestId);
|
||||
}
|
||||
|
||||
if (uint32 nextQuestId = qinfo->_nextQuestId)
|
||||
@@ -4990,10 +4988,6 @@ void ObjectMgr::LoadQuests()
|
||||
TC_LOG_ERROR("sql.sql", "Quest %u is a breadcrumb for quest %u, but no such quest exists", qinfo->_id, breadcrumbForQuestId);
|
||||
qinfo->_breadcrumbForQuestId = 0;
|
||||
}
|
||||
if (qinfo->_nextQuestId)
|
||||
TC_LOG_ERROR("sql.sql", "Quest %u is a breadcrumb, should not unlock quest %u", qinfo->_id, qinfo->_nextQuestId);
|
||||
if (qinfo->_exclusiveGroup)
|
||||
TC_LOG_ERROR("sql.sql", "Quest %u is a breadcrumb in exclusive group %i", qinfo->_id, qinfo->_exclusiveGroup);
|
||||
}
|
||||
|
||||
if (qinfo->_exclusiveGroup)
|
||||
|
||||
Reference in new issue
Block a user