fix(Core/PlayerQuest): make timed quests failable (#18940)
This commit is contained in:
parent
defed64bc3
commit
3913618f87
1 changed files with 1 additions and 1 deletions
|
|
@ -888,7 +888,7 @@ void Player::FailQuest(uint32 questId)
|
|||
{
|
||||
QuestStatus qStatus = GetQuestStatus(questId);
|
||||
// xinef: if quest is marked as failed, dont do it again
|
||||
if (qStatus != QUEST_STATUS_INCOMPLETE)
|
||||
if ((qStatus != QUEST_STATUS_INCOMPLETE) && (!quest->HasSpecialFlag(QUEST_SPECIAL_FLAGS_TIMED)))
|
||||
return;
|
||||
|
||||
SetQuestStatus(questId, QUEST_STATUS_FAILED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue