Core/Quest: Remove assertion

Remove assertion about Quest ExclusiveGroup since they are triggered even when adding valid quests to npcs. Fixes #8336 .
How to reproduce steps:
- .gm off
- add quest 11335 in creature_queststarter
- .reload creature_queststarter
- get in range of that creature
- .gm on
- assertion triggered
This commit is contained in:
jackpoz
2013-10-21 23:41:31 +02:00
parent 989cc35d8c
commit fc947e2508

View File

@@ -15459,9 +15459,6 @@ bool Player::SatisfyQuestPreviousQuest(Quest const* qInfo, bool msg)
// can be start if only all quests in prev quest exclusive group completed and rewarded
ObjectMgr::ExclusiveQuestGroupsBounds range(sObjectMgr->mExclusiveQuestGroups.equal_range(qPrevInfo->GetExclusiveGroup()));
// always must be found if qPrevInfo->ExclusiveGroup != 0
ASSERT(range.first != range.second);
for (; range.first != range.second; ++range.first)
{
uint32 exclude_Id = range.first->second;
@@ -15495,9 +15492,6 @@ bool Player::SatisfyQuestPreviousQuest(Quest const* qInfo, bool msg)
// can be start if only all quests in prev quest exclusive group active
ObjectMgr::ExclusiveQuestGroupsBounds range(sObjectMgr->mExclusiveQuestGroups.equal_range(qPrevInfo->GetExclusiveGroup()));
// always must be found if qPrevInfo->ExclusiveGroup != 0
ASSERT(range.first != range.second);
for (; range.first != range.second; ++range.first)
{
uint32 exclude_Id = range.first->second;
@@ -15665,9 +15659,6 @@ bool Player::SatisfyQuestExclusiveGroup(Quest const* qInfo, bool msg)
ObjectMgr::ExclusiveQuestGroupsBounds range(sObjectMgr->mExclusiveQuestGroups.equal_range(qInfo->GetExclusiveGroup()));
// always must be found if qInfo->ExclusiveGroup != 0
ASSERT(range.first != range.second);
for (; range.first != range.second; ++range.first)
{
uint32 exclude_Id = range.first->second;